16,551
社区成员
发帖
与我相关
我的任务
分享
void CTestDlg::OnBnClickedButton()
{
// TODO: 在此添加控件通知处理程序代码
/*UpdateData(true);
int num1,num2,num3;
char ch1[10],ch2[10],ch3[10];
GetDlgItem(IDC_EDIT1)->GetWindowText(ch1,10);
GetDlgItem(IDC_EDIT2)->GetWindowText(ch2,10);
num1=atoi(ch1);
num2=atoi(ch2);
num3=num1-num2;
itoa(num3,ch3,10);
GetDlgItem(IDC_EDIT3)->SetWindowText(ch3);*/
}