⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 studentinputdlg.cpp

📁 Wince4.2操作系统下的数据库操作例程代码 经典哦!! 绝对可用!
💻 CPP
字号:
// StudentInputDlg.cpp : implementation file
//

#include "stdafx.h"
#include "CDbuse.h"
#include "StudentInputDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CStudentInputDlg dialog


CStudentInputDlg::CStudentInputDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CStudentInputDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CStudentInputDlg)
	m_no = _T("");
	m_name = _T("");
	m_birthday = 0;
	m_stature = 0;
	//}}AFX_DATA_INIT
}


void CStudentInputDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CStudentInputDlg)
	DDX_Text(pDX, IDC_EDT_NO, m_no);
	DDX_Text(pDX, IDC_EDT_NAME, m_name);
	DDX_DateTimeCtrl(pDX, IDC_DT_BIRTHDAY, m_birthday);
	DDX_Text(pDX, IDC_EDT_STATURE, m_stature);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CStudentInputDlg, CDialog)
	//{{AFX_MSG_MAP(CStudentInputDlg)
	ON_BN_CLICKED(IDC_BTN_OK, OnBtnOk)
	ON_BN_CLICKED(IDC_BTN_CANCEL, OnBtnCancel)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CStudentInputDlg message handlers

void CStudentInputDlg::OnBtnOk() 
{
  	// TODO: Add your control notification handler code here
	 	this->OnOK();
}

void CStudentInputDlg::OnBtnCancel() 
{
	// TODO: Add your control notification handler code here
		OnCancel();
}

⌨️ 快捷键说明

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