System.Windows.Forms.HexBox.Cut C# (CSharp) Method

Cut() public method

Moves the current selection in the hex box to the Clipboard.
public Cut ( ) : void
return void
        public void Cut()
        {
            if(!CanCut()) return;

            Copy();

            _byteProvider.DeleteBytes(_bytePos, _selectionLength);
            _byteCharacterPos = 0;
            UpdateCaret();
            ScrollByteIntoView();
            ReleaseSelection();
            Invalidate();
            Refresh();
        }