private void sectionButton_Click(object sender, EventArgs e) { if (global == true) { sectionButton.Text = MainForm.rom; global = false; Facade.Load(this, MainForm.rom); } else if (global == false) { sectionButton.Text = "Global"; global = true; Facade.Load(this); } }
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 VideoSettingsForm_Load(object sender, EventArgs e) { Facade.Load(this); }
private void SystemSettings_Load(object sender, EventArgs e) { Facade.Load(this); }
private void MainForm_Load(object sender, EventArgs e) { Facade.Load(this, "game"); rom = GetRomName(); fullScreenCheckBox.Checked = false; }