void TextArea_DoProcessDialogKey(Keys keyData, ref DialogKeyProcessorResult result) { if (Document.ReadOnly) { switch (keyData) { case Keys.Tab: case Keys.Tab | Keys.Shift: case Keys.Enter: case Keys.Escape: result = DialogKeyProcessorResult.NotProcessed; break; } } }
void TextArea_DoProcessDialogKey(Keys keyData, ref DialogKeyProcessorResult result) { if (Document.ReadOnly) { switch (keyData) { case Keys.Tab: case Keys.Tab | Keys.Shift: case Keys.Enter: case Keys.Escape: result = DialogKeyProcessorResult.NotProcessed; break; } } }