예제 #1
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");
        }
예제 #2
0
 private void saveButton_Click(object sender, EventArgs e)
 {
     Facade.Save(this, "Global", controlSettings);
     Facade.ShowMessageBox(this, "Settings saved");
 }