Inheritance: System.Windows.Forms.Form
        private void buttonSetupOutputControllers_Click(object sender, EventArgs e)
        {
            ConfigControllers form   = new ConfigControllers();
            DialogResult      result = form.ShowDialog();

            if (result == DialogResult.OK)
            {
                VixenSystem.SaveSystemConfig();
            }
            else
            {
                VixenSystem.ReloadSystemConfig();
            }
        }
 private void SetupControllers()
 {
     using (ConfigControllers form = new ConfigControllers()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             VixenSystem.SaveSystemConfig();
         }
         else
         {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }
 private void buttonSetupOutputControllers_Click(object sender, EventArgs e)
 {
     ConfigControllers form = new ConfigControllers();
     DialogResult result = form.ShowDialog();
     if (result == DialogResult.OK) {
         VixenSystem.SaveSystemConfig();
     } else {
         VixenSystem.ReloadSystemConfig();
     }
 }
Exemple #4
0
 private void SetupControllers()
 {
     using (ConfigControllers form = new ConfigControllers()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK) {
             VixenSystem.SaveSystemConfig();
         }
         else {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }