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