RoomRegister.h
上传用户:czfddz
上传日期:2013-03-20
资源大小:1517k
文件大小:2k
源码类别:

酒店行业

开发平台:

C/C++

  1. #if !defined(AFX_ROOMREGISTER_H__EA0B7860_74B5_4420_B330_D3C5CD2C7F64__INCLUDED_)
  2. #define AFX_ROOMREGISTER_H__EA0B7860_74B5_4420_B330_D3C5CD2C7F64__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // RoomRegister.h : header file
  7. //
  8. #include "InfoSet.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CRoomRegister dialog
  11. class CGuestInfoSet;
  12. class CGuestRegister : public CDialog
  13. {
  14. // Construction
  15. public:
  16. CGuestRegister(CWnd* pParent = NULL);   // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CRoomRegister)
  19. enum { IDD = IDD_GUESTREG };
  20. CEdit GroupID;    //团队编号
  21. CEdit StartTime;  //客人入住时间 
  22. CEdit CertifyCode;//客人登记的证件号码
  23. CEdit Name;       //客人名字
  24. int m_nCertificatType;
  25. int m_nSex;
  26. int m_nGuestType;
  27. CEdit HandCode;   //客人手牌号
  28. //}}AFX_DATA
  29. public:
  30.     CString Certificate;//证件类型
  31. long GuestNum;   //客人数目
  32.     CString GuestType;  //客人类型   
  33. bool    IsMaster;   //是否为主客
  34. bool    IsMember;   //是否为团队成员
  35. CString RoomNum;       //
  36. CString RoomCode;   //房间号码
  37. CString Sex;        //客人性别
  38.     CGuestInfoSet m_GuestInfoSet;
  39. CBillCheckoutInfoSet m_BillCheckoutInfoSet;
  40. CDestineRoomSet         m_RoomDestine;//房间预定表
  41. int year;
  42. int month;
  43. int day;
  44. int hour;
  45. int minute;
  46. int second;
  47. // Overrides
  48. // ClassWizard generated virtual function overrides
  49. //{{AFX_VIRTUAL(CRoomRegister)
  50. protected:
  51. virtual BOOL OnInitDialog();
  52. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. // Generated message map functions
  57. //{{AFX_MSG(CRoomRegister)
  58. virtual void OnOK();
  59. afx_msg void OnCertificatType();
  60. afx_msg void OnSex();
  61. afx_msg void OnGuestType();
  62. virtual void OnCancel();
  63. //}}AFX_MSG
  64. DECLARE_MESSAGE_MAP()
  65. };
  66. //{{AFX_INSERT_LOCATION}}
  67. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  68. #endif // !defined(AFX_ROOMREGISTER_H__EA0B7860_74B5_4420_B330_D3C5CD2C7F64__INCLUDED_)