home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / daolibb / cust1pag.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1998-12-31  |  1.2 KB  |  52 lines

  1. // Cust1Page.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "DaoSample.h"
  6. #include "DaoPropPage.h"
  7. #include "DaoEdit.h"
  8. #include "Cust1Page.h"
  9.  
  10. #ifdef _DEBUG
  11. #define new DEBUG_NEW
  12. #undef THIS_FILE
  13. static char THIS_FILE[] = __FILE__;
  14. #endif
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CCust1Page property page
  18.  
  19. IMPLEMENT_DYNCREATE(CCust1Page, CPropertyPage)
  20.  
  21. CCust1Page::CCust1Page() : CDaoPropPage(CCust1Page::IDD)
  22. {
  23.     //{{AFX_DATA_INIT(CCust1Page)
  24.         // NOTE: the ClassWizard will add member initialization here
  25.     //}}AFX_DATA_INIT
  26.     DAOCONTROL(CustomerID);
  27.     DAOCONTROL(Name);
  28. }
  29.  
  30. CCust1Page::~CCust1Page()
  31. {
  32. }
  33.  
  34. void CCust1Page::DoDataExchange(CDataExchange* pDX)
  35. {
  36.     CPropertyPage::DoDataExchange(pDX);
  37.     //{{AFX_DATA_MAP(CCust1Page)
  38.     DDX_Control(pDX, IDC_CUSTOMERNAME, m_Name);
  39.     DDX_Control(pDX, IDC_CUSTOMERID, m_CustomerID);
  40.     //}}AFX_DATA_MAP
  41. }
  42.  
  43.  
  44. BEGIN_MESSAGE_MAP(CCust1Page, CDaoPropPage)
  45.     //{{AFX_MSG_MAP(CCust1Page)
  46.         // NOTE: the ClassWizard will add message map macros here
  47.     //}}AFX_MSG_MAP
  48. END_MESSAGE_MAP()
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51. // CCust1Page message handlers
  52.