示例#1
0
        // KEYSTROKE BOX 3
        private void KeystrokeInput3_KeyDown(object sender, KeyEventArgs e)
        {
            selectedKey3.key     = e.KeyValue;
            keystrokeInput3.Text = selectedKey3.ToString();
            e.SuppressKeyPress   = true;

            simpleMacros[2].SetKeyEvent(new MacroKeyEvent(new MacroKey(e.KeyValue)));
        }
示例#2
0
        // BUTTONS
        // KEYSTROKE BOX 1
        private void KeystrokeInput1_KeyDown(object sender, KeyEventArgs e)
        {
            selectedKey1.key     = e.KeyValue;
            keystrokeInput1.Text = selectedKey1.ToString();
            groupBox1.Focus();
            e.SuppressKeyPress = true;

            simpleMacros[0].SetKeyEvent(new MacroKeyEvent(new MacroKey(e.KeyValue)));
        }
示例#3
0
 public override string ToString()
 {
     return(_key.ToString());
 }