LoadConfiguration() public method

public LoadConfiguration ( ) : void
return void
Example #1
0
 public void ShowConfiguration(object sender, EventArgs e)
 {
     Debug.Assert(mainThreadID == Thread.CurrentThread.GetHashCode());
     if (configuration.Visible)
     {
         if (configuration.WindowState == FormWindowState.Minimized)
         {
             configuration.WindowState = FormWindowState.Normal;
         }
         return;
     }
     if (configuration.IsDisposed)
     {
         configuration = new Configuration();
     }
     configuration.LoadConfiguration();
     Activate(configuration);
 }