Esempio n. 1
0
 private void AutoSetupHandler(object sender, EventArgs e)
 {
     core.SetupOnStartup = true;
     if (setupForm == null || setupForm.IsDisposed)
     {
         setupForm = new SetupForm(core);
         Application.DoEvents();
     }
     if (!setupForm.Visible)
     {
         setupForm.Show();
     }
     else
     {
         setupForm.StartAutoSetup();
     }
 }
Esempio n. 2
0
 private void SetupHandler(object sender, EventArgs e)
 {
     if (setupForm == null || setupForm.IsDisposed)
     {
         setupForm = new SetupForm(core);
     }
     if (!setupForm.Visible)
     {
         setupForm.Show();
     }
     else
     {
         setupForm.Focus();
     }
 }