コード例 #1
0
        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            // We don't want this form to handle cut/copy/paste commands.
            // Instead forward to the active component to process it.
            // Don't forward delete, as we need it in our control.
            if (keyData != Keys.Delete && EditorManager.EditorComponentKeyDown(null, keyData))
            {
                return(true);
            }

            return(base.ProcessCmdKey(ref msg, keyData));
        }
コード例 #2
0
 private void treeView_Creators_KeyDown(object sender, KeyEventArgs e)
 {
     EditorManager.EditorComponentKeyDown(null, e);
 }
コード例 #3
0
 private void actionHistoryView_KeyDown(object sender, KeyEventArgs e)
 {
     EditorManager.EditorComponentKeyDown(null, e);
 }