private void translationConfig_Click(object sender, EventArgs e) { using (var frm = new FormChooseTranslation()) { frm.ShowDialog(this); // will set Settings.Translation } _settingsPageHost.LoadAll(); Translate(); SaveAndRescan_Click(null, null); }
private void ChangeHomeButton_Click(object sender, EventArgs e) { _settingsPageHost.SaveAll(); using (var frm = new FormFixHome()) frm.ShowDialog(this); _settingsPageHost.LoadAll(); // TODO?: rescan // orginal: //// throw new NotImplementedException(@" //// Save(); //// using (var frm = new FormFixHome()) frm.ShowDialog(this); //// LoadSettings(); //// Rescan_Click(null, null); //// "); }