private void resetSettings_Click(object sender, EventArgs e) { YesNoDialog dialog = new YesNoDialog(StringResources.ResetQuestion); dialog.ShowDialog(); if (dialog.answer) { Settings.defaults(); updateList(); } }
private void resetElevations_Click(object sender, EventArgs e) { dialog = new YesNoDialog(Resources.ResetElevationsWarning); dialog.Disposed += new EventHandler(dialog_Disposed_elevations); dialog.ShowDialog(); }
private void resetPaceZone_Click(object sender, EventArgs e) { dialog = new YesNoDialog(Resources.ResetPaceZonesWarning); dialog.Disposed += new EventHandler(dialog_Disposed_pacezones); dialog.ShowDialog(); }
private void resetSettings_Click(object sender, EventArgs e) { dialog = new YesNoDialog(Resources.ResetAllSettingsWarning); dialog.Disposed += new EventHandler(dialog_Disposed); dialog.ShowDialog(); }