Example #1
0
 /// <summary>
 /// Handles the FormClosing event of the MainForm control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="System.Windows.Forms.FormClosingEventArgs"/> instance containing the event data.</param>
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (!DesignMode)
     {
         // Perform clean up.
         Gorgon.Terminate();
     }
 }