private void saveButton_Click(object sender, EventArgs e) { if (global == true) { Facade.Save(this); Facade.Load(this); } else { Facade.Save(this, MainForm.rom); Facade.Load(this, MainForm.rom); } Facade.ShowMessageBox(this, "Settings saved"); }
private void saveButton_Click(object sender, EventArgs e) { Facade.Save(this, "Global", controlSettings); Facade.ShowMessageBox(this, "Settings saved"); }