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. CString m_id;
  31. int m_bModify; // =0:开单模式; =1:预约单(修改)
  32. Booking2(CWnd* pParent = NULL); // standard constructor
  33. enum { IDD = IDD_DLGBooking2 };
  34. public:
  35. virtual BOOL PreTranslateMessage(MSG* pMsg);
  36. protected:
  37. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  38. //}}AFX_VIRTUAL
  39. // Implementation
  40. protected:
  41. // Generated message map functions
  42. virtual BOOL OnInitDialog();
  43. virtual void OnOK();
  44. virtual void OnCancel();
  45. afx_msg void OnBUTinfo1();//订单资料;
  46. afx_msg void OnBUTinfo2();//客人资料;
  47. afx_msg void OnBUTinfo3();//其他资料;
  48. afx_msg void OnBUTclose();//关闭按钮
  49. afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
  50. afx_msg void OnBUTinfo4();//时间安排;
  51. afx_msg void OnBUTsave();// 保存订单;
  52. afx_msg void OnBUTnew(); // 新订单;
  53. afx_msg void OnBUTprint();
  54. afx_msg void OnBUTimport();//导入按钮;
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. };
  58. //{{AFX_INSERT_LOCATION}}
  59. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  60. #endif // !defined(AFX_BOOKING2_H__63B19490_E040_4F05_8B90_BABECD3FF6CF__INCLUDED_)