Booking2.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #if !defined(AFX_BOOKING2_H__63B19490_E040_4F05_8B90_BABECD3FF6CF__INCLUDED_)
  2. #define AFX_BOOKING2_H__63B19490_E040_4F05_8B90_BABECD3FF6CF__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Booking2.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // Booking2 dialog
  10. #include "BookingPage1.h"
  11. #include "BookingPage2.h"
  12. #include "BookingPage22.h"
  13. #include "BookingPage3.h"
  14. #include "BookingPage4.h"
  15. // Jeff:侧边栏 - 门市流程 - 开单对话框;
  16. class Booking2 : public CDialog
  17. {
  18. BOOL m_bSave;
  19. BookingPage1 m_page1; // 订单资料选项卡;
  20. #ifdef CHILD_VERSION
  21. BookingPage22 m_page2;
  22. #else
  23. BookingPage2 m_page2; // 客人资料选项卡;
  24. #endif
  25. BookingPage3 m_page3; // 其它资料选项卡;
  26. BookingPage4 m_page4; // 时间安排选项卡;
  27. // Construction
  28. public:
  29. void OnBUTsave2();
  30. Booking2(CWnd* pParent = NULL); // standard constructor
  31. enum { IDD = IDD_DLGBooking2 };
  32. public:
  33. int m_bModify; // =0:开单模式; =1:预约单(修改)
  34. CString m_strOrderNum; // 订单号;
  35. //CString m_strPhone1; // 顾客1电话;
  36. //CString m_strPhone2; // 顾客2电话;
  37. virtual BOOL PreTranslateMessage(MSG* pMsg);
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. virtual BOOL OnInitDialog();
  45. virtual void OnOK();
  46. virtual void OnCancel();
  47. afx_msg void OnBUTinfo1();//订单资料;
  48. afx_msg void OnBUTinfo2();//客人资料;
  49. afx_msg void OnBUTinfo3();//其他资料;
  50. afx_msg void OnBUTclose();//关闭按钮
  51. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  52. afx_msg void OnBUTinfo4();//时间安排;
  53. afx_msg void OnBUTsave();// 保存订单;
  54. afx_msg void OnBUTnew(); // 新订单;
  55. afx_msg void OnBUTprint();
  56. afx_msg void OnBUTimport();//导入按钮;
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. };
  60. #endif // !defined(AFX_BOOKING2_H__63B19490_E040_4F05_8B90_BABECD3FF6CF__INCLUDED_)