delectdialog.cpp

来自「这是一个学生管理系统」· C++ 代码 · 共 66 行

CPP
66
字号
// DelectDialog.cpp : implementation file
//

#include "stdafx.h"
#include "lhwy.h"
#include "DelectDialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDelectDialog dialog


CDelectDialog::CDelectDialog(CWnd* pParent /*=NULL*/)
	: CDialog(CDelectDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(CDelectDialog)
	m_nPass = 0;
	m_nxue = 0;
	//}}AFX_DATA_INIT
}


void CDelectDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDelectDialog)
	DDX_Control(pDX, IDOK, m_OkButton);
	DDX_Control(pDX, IDCANCEL, m_CancelButton);
	DDX_Text(pDX, IDC_PASS, m_nPass);
	DDX_Text(pDX, IDC_XUEHAO, m_nxue);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDelectDialog, CDialog)
	//{{AFX_MSG_MAP(CDelectDialog)
	ON_EN_CHANGE(IDC_PASS, OnChangePass)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDelectDialog message handlers

void CDelectDialog::OnOK() 
{
	// TODO: Add extra validation here
	
	CDialog::OnOK();
}

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

⌨️ 快捷键说明

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