📄 cust2page.cpp
字号:
// Cust2Page.cpp : implementation file
//
#include "stdafx.h"
#include "DaoSample.h"
#include "DaoPropPage.h"
#include "DaoCheck.h"
#include "DaoCombo.h"
#include "Cust2Page.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCust2Page property page
IMPLEMENT_DYNCREATE(CCust2Page, CPropertyPage)
CCust2Page::CCust2Page() : CDaoPropPage(CCust2Page::IDD)
{
//{{AFX_DATA_INIT(CCust2Page)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
DAOCONTROL(NewCustomer);
DAOCOMBO(ModemType, "Modem");
}
CCust2Page::~CCust2Page()
{
}
void CCust2Page::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CCust2Page)
DDX_Control(pDX, IDC_NEWCUSTOMER, m_NewCustomer);
DDX_Control(pDX, IDC_CUSTOMERMODEM, m_ModemType);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CCust2Page, CDaoPropPage)
//{{AFX_MSG_MAP(CCust2Page)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CCust2Page message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -