Exemplo n.º 1
0
        private void Player1_Left_Click(object sender, EventArgs e)
        {
            var kk = new Frm_Key("Player1 Left");

            kk.ShowDialog();
            if (kk.OK)
            {
                Player1_Left.Text = kk.InputName;
                Program.Settings.ControlProfiles[comboBox1.SelectedIndex].Player1Left = kk.InputName;
            }
        }
Exemplo n.º 2
0
 private void Player2_Up_Click(object sender, EventArgs e)
 {
     var kk = new Frm_Key("Player2 Up");
     kk.ShowDialog();
     if (kk.OK)
     {
         Player2_Up.Text = kk.InputName;
         Program.Settings.ControlProfiles[comboBox1.SelectedIndex].Player2Up = kk.InputName;
     }
 }