45
{ }
void CLuxiaoyingDlg::OnJiechengMenu() { }
void CLuxiaoyingDlg::OnLnMenu() { }
void CLuxiaoyingDlg::OnLogMenu() { }
void CLuxiaoyingDlg::OnMiMenu() { }
45 1
// TODO: Add your command handler code here OnJianButton14() ;
// TODO: Add your command handler code here OnJiechengButton28();
// TODO: Add your command handler code here OnLnButton21() ;
// TODO: Add your command handler code here OnLogButton26();
// TODO: Add your command handler code here OnMiButton22() ;
46
void CLuxiaoyingDlg::OnOrMenu() { }
void CLuxiaoyingDlg::OnSinMenu() { }
void CLuxiaoyingDlg::OnSqrtMenu() { }
void CLuxiaoyingDlg::OnTanMenu() { }
16、退位功能的实现
void CLuxiaoyingDlg::OnTuiweiButton() {
46 1
// TODO: Add your command handler code here OnOrButton11();
// TODO: Add your command handler code here OnSinButton24();
// TODO: Add your command handler code here OnSqrtButton18() ;
// TODO: Add your command handler code here OnTanButton27();
// TODO: Add your control notification handler code here UpdateData(1);
47
if(m_str!=\{ m_str=m_str.Left(m_str.GetLength()-1); pass3=0;
}
else { m_str=\ pass3=1;
}
UpdateData(0);
}
47 1
48
48 1