public Home()
 {
     Text = "MidiPianoRico";
     hUIKeyboardHandler = new HUIKeyboardHandler(this, 1);
     settings = FileHandler.LoadSettings();
     SetSize();
     AddControls();
 }
Exemplo n.º 2
0
 private void ChangeInputButton_Click(object sender, EventArgs e)
 {
     InputDeviceDialog dialog = new InputDeviceDialog();
     if (dialog.ShowDialog() == DialogResult.OK)
     {
         hUIKeyboardHandler = new HUIKeyboardHandler(this, dialog.InputDeviceID);
     }
     else
     {
         MessageBox.Show("No new input device is selected");
     }
 }