상속: 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();
         }
     }
 }