예제 #1
0
 private void Form1_FormClosed(object sender, FormClosedEventArgs e)
 {
     if (reptile != null)
     {
         reptile.Stop();
     }
     System.Environment.Exit(System.Environment.ExitCode);
 }
예제 #2
0
 private void Form1_FormClosed(object sender, FormClosedEventArgs e)
 {
     try
     {
         reptile.Stop();
         System.Environment.Exit(System.Environment.ExitCode);
     }
     catch (Exception ex)
     {
     }
 }