private void buttonSetupElements_Click(object sender, EventArgs e)
        {
            ConfigElements form   = new ConfigElements();
            DialogResult   result = form.ShowDialog();

            if (result == DialogResult.OK)
            {
                VixenSystem.SaveSystemConfig();
            }
            else
            {
                VixenSystem.ReloadSystemConfig();
            }
        }
Esempio n. 2
0
 private void SetupElements()
 {
     using (ConfigElements form = new ConfigElements()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             VixenSystem.SaveSystemConfig();
         }
         else
         {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }
Esempio n. 3
0
 private void SetupElements()
 {
     using (ConfigElements form = new ConfigElements()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK) {
             VixenSystem.SaveSystemConfig();
         }
         else {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }
 private void buttonSetupElements_Click(object sender, EventArgs e)
 {
     ConfigElements form = new ConfigElements();
     DialogResult result = form.ShowDialog();
     if (result == DialogResult.OK) {
         VixenSystem.SaveSystemConfig();
     } else {
         VixenSystem.ReloadSystemConfig();
     }
 }