skip to main |
skip to sidebar
Creation of Dialog-Based ApplicationSource Code
void CDialogBasedDlg::OnButton1()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_m3=m_m1*m_m2;
UpdateData(false);
}
void CDialogBasedDlg::OnButton2()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_m3=m_m1/m_m2;
UpdateData(false);
}
void CDialogBasedDlg::OnButton3()
{
// TODO: Add your control notification handler code here
UpdateData(true);
m_m3=m_m1==m_m2;
UpdateData(false);
}