Exemple #1
0
        private void pictureBox1_Click(object sender, EventArgs e)
        {
            InputForm inForm = new InputForm();

            inForm.ShowDialog();
            lbl_A_Button.Text = "key_press " + inForm.pressedKey.ToUpper();
            a.action          = lbl_A_Button.Text;
            a.ChangeAction(a.action);
        }
Exemple #2
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     InputForm inForm = new InputForm();
     inForm.ShowDialog();
     lbl_A_Button.Text = "key_press " + inForm.pressedKey.ToUpper();
     a.action = lbl_A_Button.Text;
     a.ChangeAction(a.action);
 }