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