void CProductModeling::OnBnClickedCheck1()
{
int nState = ((CButton*)GetDlgItem(IDC_CHECK1))->GetCheck();
if (nState == BST_CHECKED)
{
//选中
g_ShardData->g_IsCharNianLian = 1;
}
else
{
//未选中
g_ShardData->g_IsCharNianLian = 0;
}
}
{
int nState = ((CButton*)GetDlgItem(IDC_CHECK1))->GetCheck();
if (nState == BST_CHECKED)
{
//选中
g_ShardData->g_IsCharNianLian = 1;
}
else
{
//未选中
g_ShardData->g_IsCharNianLian = 0;
}
}