Пример #1
0
        private void extButton10_Click(object sender, EventArgs e)
        {
            KeyForm f = new KeyForm();

            f.Init(null, true, " ", "", "", -1, false);
            f.Show(this);
        }
Пример #2
0
        private void extButton11_Click(object sender, EventArgs e)
        {
            theme.FontSize = 30;
            KeyForm f = new KeyForm();

            f.Init(null, true, " ", "", "", -1, false);
            f.Show(this);
        }
Пример #3
0
        private void extButton10_Click(object sender, EventArgs e)
        {
            AddKeyParser addp = new AddKeyParser();

            {
                Queue <SKEvent> events = new Queue <SKEvent>();
                string          err    = BaseUtils.EnhancedSendKeysParser.ParseKeys(events, "[1,2,3]#1Shift", 200, 201, 202, addp);
            }
            {
                Queue <SKEvent> events = new Queue <SKEvent>();
                string          err    = BaseUtils.EnhancedSendKeysParser.ParseKeys(events, "[1,2,3]#1Shift+Insert", 200, 201, 202, addp);
            }
            {
                Queue <SKEvent> events = new Queue <SKEvent>();
                string          err    = BaseUtils.EnhancedSendKeysParser.ParseKeys(events, "[1,2,3]#1Insert", 200, 201, 202, addp);
            }
            {
                Queue <SKEvent> events = new Queue <SKEvent>();
                string          err    = BaseUtils.EnhancedSendKeysParser.ParseKeys(events, "[1,2,3]#1^Insert", 200, 201, 202, addp);
            }
            {
                Queue <SKEvent> events = new Queue <SKEvent>();
                string          err    = BaseUtils.EnhancedSendKeysParser.ParseKeys(events, "[1,2,3]#1^Shift+Insert", 200, 201, 202, addp);
            }
            {
                Queue <SKEvent> events = new Queue <SKEvent>();
                string          err    = BaseUtils.EnhancedSendKeysParser.ParseKeys(events, "[1,2,3]#1^Shift", 200, 201, 202, addp);
            }
            //     err = BaseUtils.EnhancedSendKeysParser.ParseKeys(events, "[1,2,3]#Insert", 200, 201, 202, addp);

            KeyForm f = new KeyForm();

            f.Init(null, true, " ", "", "EliteDangerous64", -1, false, new List <string> {
                "AddOne"
            }, addp);
            f.Show(this);
        }
Пример #4
0
        // Display KeyForm instance
        private void parametersToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var keyForm = new KeyForm(_proxy);

            keyForm.ShowDialog();
        }
Пример #5
0
 // 登録
 public GlobalHotkey(ModifierKeys modKeys, Keys keys)
 {
     kh = new KeyForm(modKeys, keys, () => keyEvent(this, EventArgs.Empty));
 }