System.Windows.Forms.HexBox.KeyInterpreter.PreProcessWmKeyDown_End C# (CSharp) Метод

PreProcessWmKeyDown_End() защищенный Метод

protected PreProcessWmKeyDown_End ( Message &m ) : bool
m Message
Результат bool
            protected virtual bool PreProcessWmKeyDown_End(ref Message m)
            {
                long pos = _hexBox._bytePos;
                int cp = _hexBox._byteCharacterPos;

                if(pos >= _hexBox._byteProvider.Length-1)
                    return true;

                pos = _hexBox._byteProvider.Length;
                cp = 0;
                _hexBox.SetPosition(pos, cp);

                _hexBox.ScrollByteIntoView();
                _hexBox.UpdateCaret();
                _hexBox.ReleaseSelection();

                return true;
            }