BaseDlg.cpp
上传用户:sztwq510
上传日期:2013-06-26
资源大小:4045k
文件大小:1k
源码类别:

酒店行业

开发平台:

Java

  1. // BaseDlg.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "MyPos.h"
  5. #include "BaseDlg.h"
  6. #include "MaterielDlg.h"
  7. #include "ClassDlg.h"
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CBaseDlg dialog
  15. CBaseDlg::CBaseDlg(CWnd* pParent /*=NULL*/)
  16. : CDialog(CBaseDlg::IDD, pParent)
  17. {
  18. //{{AFX_DATA_INIT(CBaseDlg)
  19. // NOTE: the ClassWizard will add member initialization here
  20. //}}AFX_DATA_INIT
  21. }
  22. void CBaseDlg::DoDataExchange(CDataExchange* pDX)
  23. {
  24. CDialog::DoDataExchange(pDX);
  25. //{{AFX_DATA_MAP(CBaseDlg)
  26. DDX_Control(pDX, IDC_TAB_BASE, m_oTabBase);
  27. //}}AFX_DATA_MAP
  28. }
  29. BEGIN_MESSAGE_MAP(CBaseDlg, CDialog)
  30. //{{AFX_MSG_MAP(CBaseDlg)
  31. //}}AFX_MSG_MAP
  32. END_MESSAGE_MAP()
  33. /////////////////////////////////////////////////////////////////////////////
  34. // CBaseDlg message handlers
  35. BOOL CBaseDlg::OnInitDialog() 
  36. {
  37. CDialog::OnInitDialog();
  38. // TODO: Add extra initialization here
  39. m_oTabBase.AddPage("商品类别", &m_oClassdlg, IDD_DIALOG_CLASS);
  40. m_oTabBase.AddPage("商品资料", &m_oMaterieldlg, IDD_DIALOG_MATERIEL);
  41. m_oTabBase.AddPage("付款方式", &m_oPaymodedlg, IDD_DIALOG_PAYMODE);
  42. m_oTabBase.Show();
  43. return TRUE;  // return TRUE unless you set the focus to a control
  44.               // EXCEPTION: OCX Property Pages should return FALSE
  45. }