示例#1
0
 private void OK_Click(object sender, EventArgs e)
 {
     if (!OptionsCTL.Confirm() || !ControlerTab.Confirm())
     {
         DialogResult = DialogResult.Cancel;
     }
 }
示例#2
0
        private void SettingsDialog_Load(object sender, EventArgs e)
        {
            ActiveColor          = Options.BackColor;
            Controller.BackColor = InactiveColor;

            OptionsCTL.Settings            = Settings;
            OptionsCTL.GameDir             = GameDir;
            OptionsCTL.NeedLicenseValidate = NeedLicenseValidate;
            OptionsCTL.Setup();


            ControlerTab.Settings = Settings;
            ControlerTab.Setup();

            ControlerTab.Visible = false;
        }
示例#3
0
 private void SettingsDialog_FormClosing(object sender, FormClosingEventArgs e)
 {
     ControlerTab.Shutdown();
 }