Example #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     Application.Exit();
     Application.ExitThread();
 }
Example #2
0
 private void frmMain_FormClosed(object sender, FormClosedEventArgs e)
 {
     Application.ExitThread();
     Application.Exit();
 }