Example #1
0
 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);
     }
 }
Example #2
0
        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");
        }
Example #3
0
 private void VideoSettingsForm_Load(object sender, EventArgs e)
 {
     Facade.Load(this);
 }
Example #4
0
 private void SystemSettings_Load(object sender, EventArgs e)
 {
     Facade.Load(this);
 }
Example #5
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     Facade.Load(this, "game");
     rom = GetRomName();
     fullScreenCheckBox.Checked = false;
 }