예제 #1
0
void CCodeCalcForm::OnBnClickedButton9()
{
	int uID;
	uID=GetCheckedRadioButton(IDC_RADIO8,IDC_RADIO9);
	if(uID==IDC_RADIO8)
	{
		XTIME xtime;
		xtime.DoModal();
	}
	else if(uID==IDC_RADIO9)
	{
		GF gf;
		gf.DoModal();
	}
	else
		MessageBox("请选择算法!");
}
예제 #2
0
void CCodeCalcForm::OnBnClickedButton1()
{
	// TODO: 在此添加控件通知处理程序代码
	int uID;
	uID=GetCheckedRadioButton(IDC_RADIO1,IDC_RADIO4);
	if(uID==IDC_RADIO1)
	{
		Euclid euclid;
		euclid.DoModal();
	}
	else if(uID==IDC_RADIO3)
	{
		XTIME xtime;
		xtime.DoModal();
	}
	else if(uID==IDC_RADIO4)
	{
		GF gf;
		gf.DoModal();
	}
	else
		MessageBox("请选择算法!");
	
}