Наследование: Common.Controls.BaseForm
Пример #1
0
        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();
            }
        }
Пример #2
0
 private void SetupPreviews()
 {
     using (ConfigPreviews form = new ConfigPreviews()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK)
         {
             VixenSystem.SaveSystemConfig();
         }
         else
         {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }
Пример #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();
         }
     }
 }
Пример #4
0
 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();
     }
 }
Пример #5
0
 private void SetupPreviews()
 {
     using (ConfigPreviews form = new ConfigPreviews()) {
         DialogResult result = form.ShowDialog();
         if (result == DialogResult.OK) {
             VixenSystem.SaveSystemConfig();
         }
         else {
             VixenSystem.ReloadSystemConfig();
         }
     }
 }