Beispiel #1
0
 private void buttonSave_Click(object sender, EventArgs e)
 {
     // Save the config and close the config dialog
     DenshaDeGoInput.SaveConfig();
     Close();
 }
Beispiel #2
0
 private void buttonCancel_Click(object sender, EventArgs e)
 {
     // Reload the previous config and close the config dialog
     DenshaDeGoInput.LoadConfig();
     Close();
 }
Beispiel #3
0
 private void Config_FormClosed(Object sender, FormClosedEventArgs e)
 {
     // Reload the previous config and close the config dialog
     DenshaDeGoInput.LoadConfig();
     Timer1.Enabled = false;
 }