protected override bool ProcessCmdKey(ref Message msg, Keys keyData) { if (UsePortableClipboard && PortableClipboard.ProcessClipboardCmdKeysForDialog(this, msg, keyData)) { return(true); } return(base.ProcessCmdKey(ref msg, keyData)); }
protected override void OnLoad(System.EventArgs e) { // Note that TextBox.ShortcutsEnabled does nothing in the Mono runtime. Needing to // remove (or fix) the context menu means that this must be done after the dialog // has been initialized. if (_usePortableClipboard) { PortableClipboard.RemoveTextboxMenus(this); } base.OnLoad(e); }