Inheritance: Common.Controls.BaseForm
        private void buttonSetupOutputPreviews_Click(object sender, EventArgs e)
        {
            ConfigPreviews form   = new ConfigPreviews();
            DialogResult   result = form.ShowDialog();

            if (result == DialogResult.OK)
            {
                VixenSystem.SaveSystemConfig();
            }
            else
            {
                VixenSystem.ReloadSystemConfig();
            }
        }
Esempio n. 2
0
 private void SetupPreviews()
 {
     using (ConfigPreviews form = new ConfigPreviews()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             VixenSystem.SaveSystemConfig();
         }
         else
         {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }
Esempio n. 3
0
 private async void SetupPreviews()
 {
     using (ConfigPreviews form = new ConfigPreviews()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             await VixenSystem.SaveSystemAndModuleConfigAsync();
         }
         else
         {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }
 private void buttonSetupOutputPreviews_Click(object sender, EventArgs e)
 {
     ConfigPreviews form = new ConfigPreviews();
     DialogResult result = form.ShowDialog();
     if(result == DialogResult.OK) {
         VixenSystem.SaveSystemConfig();
     } else {
         VixenSystem.ReloadSystemConfig();
     }
 }
Esempio n. 5
0
 private void SetupPreviews()
 {
     using (ConfigPreviews form = new ConfigPreviews()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK) {
             VixenSystem.SaveSystemConfig();
         }
         else {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }