To be more clear, What Should I Write In This Function :

PHP Code:
void CTetDlg::OnButton1() 
{
    
// TODO: Add your control notification handler code here
    

While the Button1 points to EXIT button ?