OK, I figure it out :

PHP Code:
 void CTetDlg::OnButton1()
{
    exit(
1);