xitong.cpp

来自「用VC++6.0开发的人事信息系统」· C++ 代码 · 共 67 行

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

#include "stdafx.h"
#include "test.h"
#include "xitong.h"

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

/////////////////////////////////////////////////////////////////////////////
// xitong property page

IMPLEMENT_DYNCREATE(xitong, CPropertyPage)

xitong::xitong() : CPropertyPage(xitong::IDD)
{
	//{{AFX_DATA_INIT(xitong)
	m_nGSDH = _T("");
	m_nGSDZ = _T("");
	m_nGSMC = _T("");
	m_nGSWZ = _T("");
	//}}AFX_DATA_INIT
}

xitong::~xitong()
{
}

void xitong::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(xitong)
	DDX_Text(pDX, IDC_EDIT_GSDH, m_nGSDH);
	DDX_Text(pDX, IDC_EDIT_GSDZ, m_nGSDZ);
	DDX_Text(pDX, IDC_EDIT_GSMC, m_nGSMC);
	DDX_Text(pDX, IDC_EDIT_GSWZ, m_nGSWZ);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(xitong, CPropertyPage)
	//{{AFX_MSG_MAP(xitong)
	ON_EN_CHANGE(IDC_EDIT_GSDH, OnChange)
	ON_EN_CHANGE(IDC_EDIT_GSDZ, OnChange)
	ON_EN_CHANGE(IDC_EDIT_GSMC, OnChange)
	ON_EN_CHANGE(IDC_EDIT_GSWZ, OnChange)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// xitong message handlers

void xitong::OnChange() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CPropertyPage::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	
	// TODO: Add your control notification handler code here
	SetModified(TRUE);
}

⌨️ 快捷键说明

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