home *** CD-ROM | disk | FTP | other *** search
- // Cust1Page.cpp : implementation file
- //
-
- #include "stdafx.h"
- #include "DaoSample.h"
- #include "DaoPropPage.h"
- #include "DaoEdit.h"
- #include "Cust1Page.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CCust1Page property page
-
- IMPLEMENT_DYNCREATE(CCust1Page, CPropertyPage)
-
- CCust1Page::CCust1Page() : CDaoPropPage(CCust1Page::IDD)
- {
- //{{AFX_DATA_INIT(CCust1Page)
- // NOTE: the ClassWizard will add member initialization here
- //}}AFX_DATA_INIT
- DAOCONTROL(CustomerID);
- DAOCONTROL(Name);
- }
-
- CCust1Page::~CCust1Page()
- {
- }
-
- void CCust1Page::DoDataExchange(CDataExchange* pDX)
- {
- CPropertyPage::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CCust1Page)
- DDX_Control(pDX, IDC_CUSTOMERNAME, m_Name);
- DDX_Control(pDX, IDC_CUSTOMERID, m_CustomerID);
- //}}AFX_DATA_MAP
- }
-
-
- BEGIN_MESSAGE_MAP(CCust1Page, CDaoPropPage)
- //{{AFX_MSG_MAP(CCust1Page)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
-
- /////////////////////////////////////////////////////////////////////////////
- // CCust1Page message handlers
-