regrulepage.cpp

来自「实现规则推理 模糊识别 神经网络的专家系统」· C++ 代码 · 共 67 行

CPP
67
字号
// RegRulePage.cpp : implementation file
//

#include "stdafx.h"
#include "AcquireKlg.h"
#include "AcquireKlgDoc.h"
#include "MainFrm.h"
#include "RuleDefineView.h"
#include "Global.h"
#include <math.h>
#include "RegRulePage.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRegRulePage dialog

CRegRulePage::CRegRulePage(CWnd* pParent /*=NULL*/)
	: CDialog(CRegRulePage::IDD, pParent)
{
	//{{AFX_DATA_INIT(CRegRulePage)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CRegRulePage::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CRegRulePage)
	DDX_Control(pDX, IDC_COMBO_outnode, m_combo_outnode);
	DDX_Control(pDX, IDC_EDIT_REGRULE, m_cRegRule);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CRegRulePage, CDialog)
	//{{AFX_MSG_MAP(CRegRulePage)
	ON_EN_KILLFOCUS(IDC_EDIT_REGRULE, OnKillfocusEditRegrule)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CRegRulePage message handlers

BOOL CRegRulePage::OnInitDialog() 
{
	CDialog::OnInitDialog();

	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

void CRegRulePage::OnKillfocusEditRegrule() 
{
	
		//AfxMessageBox("hello");
}

void CRegRulePage::SelectRegEdit(){
	m_cRegRule.SetFocus();
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?