void CBianjiDlg::OnButton1() { // TODO: Add your control notification handler code here UpdateData(true); if(m_1.GetCheck()) if(m_2.GetCheck()) if(m_3.GetCheck()) UpdateData(false); }