Beispiel #1
0
 private void ExitToolStripMenuItem_Click(object sender, EventArgs e)
 {
     // User selected MainFile, Exit - call the exit routine
     HellionExplorerProgram.ControlledExit();
 }
Beispiel #2
0
 /// <summary>
 /// Called when the main form is closing, used to catch the user clicking the X control.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void FrmMainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     // User closed the window - call the exit routine
     HellionExplorerProgram.ControlledExit();
 }