Ejemplo n.º 1
0
        private void wb_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
        {
            if (e.KeyCode == Keys.Tab && ((e.Modifiers & Keys.Control) == Keys.Control))
            {
                e.IsInputKey = true;

                frmFastTab fFastTab = new frmFastTab(false, e.Shift);
                fFastTab.ShowDialog();
            }
        }
Ejemplo n.º 2
0
        private void UCBrowser_KeyDown(object sender, KeyEventArgs e)
        {
            return;

            if (e.KeyCode == Keys.Tab && (e.Modifiers == Keys.Control))
            {
                frmFastTab fFastTab = new frmFastTab(false, false);
                fFastTab.Show(this);

                e.SuppressKeyPress = true;
            }
            else if (e.KeyCode == Keys.Tab && (e.Modifiers == (Keys.Control | Keys.Shift)))
            {
                frmFastTab fFastTab = new frmFastTab(false, true);
                fFastTab.Show(this);

                e.SuppressKeyPress = true;
            }
        }