Esempio n. 1
0
 /// <summary>
 /// When the form is closed applies settings
 /// </summary>
 private void DialogClosed(Object sender, FormClosedEventArgs e)
 {
     if (sdkContext != null)
     {
         sdkContext.Dispose();
     }
     Globals.MainForm.ApplyAllSettings();
 }
Esempio n. 2
0
 /// <summary>
 /// When the form is closed applies settings
 /// </summary>
 private void DialogClosed(Object sender, FormClosedEventArgs e)
 {
     if (sdkContext != null)
     {
         sdkContext.Dispose();
     }
     Globals.MainForm.ApplyAllSettings();
     Globals.MainForm.SaveSettings();
     if (requireRestart.Count > 0 && !Globals.MainForm.RequiresRestart)
     {
         Globals.MainForm.RestartRequired();
     }
 }
Esempio n. 3
0
 /// <summary>
 /// When the form is closed applies settings
 /// </summary>
 private void DialogClosed(Object sender, FormClosedEventArgs e)
 {
     Cursor.Current = Cursors.WaitCursor;  // Enough for our sync code
     if (sdkContext != null)
     {
         sdkContext.Dispose();
     }
     Globals.MainForm.ApplyAllSettings();
     Globals.MainForm.SaveSettings();
     if (requireRestart.Count > 0 && !Globals.MainForm.RequiresRestart)
     {
         Globals.MainForm.RestartRequired();
     }
 }