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

📄 driverinputdlg.cpp

📁 EVC编写的WINCE自带数据库的测试程序
💻 CPP
字号:
// DriverInputDlg.cpp : implementation file
//

#include "stdafx.h"
#include "CEDBUse.h"
#include "DriverInputDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CDriverInputDlg dialog


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


void CDriverInputDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CDriverInputDlg)
	DDX_Text(pDX, IDC_EDT_NO, m_no);
	DDX_Text(pDX, IDC_EDT_NAME, m_name);
	DDX_Text(pDX, IDC_DT_STATURE, m_stature);
	DDX_DateTimeCtrl(pDX, IDC_DT_BRITHDAY, m_birthday);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CDriverInputDlg, CDialog)
	//{{AFX_MSG_MAP(CDriverInputDlg)
	ON_BN_CLICKED(ID_BTN_OK, OnBtnOk)
	ON_BN_CLICKED(IDC_BTN_CANCEL, OnBtnCancel)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDriverInputDlg message handlers

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

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

⌨️ 快捷键说明

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