コード例 #1
0
 /// <summary>
 /// When the user proceeds to shut down the form, automatically kill the process
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void MacomberMap_FormClosing(object sender, FormClosingEventArgs e)
 {
     Data_Integration.ShutDown();
     System.Diagnostics.Process.GetCurrentProcess().Kill();
 }