示例#1
0
void CKerRulePage::OnKeradd()				// add a rule
{
	if(InitAddRule() != 0)
		return;

	// apply buttion
	GetOwner()->GetOwner()->GetDlgItem(IDC_APPLY)->EnableWindow(TRUE);
}
示例#2
0
void CKerRulePage::OnKeradd()	// 添加一个规则
{
	if(InitAddRule() != 0)
		return;

	// 有效主对话框的应用按钮
	GetOwner()->GetOwner()->GetDlgItem(IDC_APPLY)->EnableWindow(TRUE);
}