Booking.h 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. #if !defined(AFX_BOOKING_H__B0E592D3_7AD9_4C4C_BFBD_C144E380DCC4__INCLUDED_)
  2. #define AFX_BOOKING_H__B0E592D3_7AD9_4C4C_BFBD_C144E380DCC4__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Booking.h : header f ile
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // Booking dialog
  10. #include "DateEdit.h"
  11. #include "resource.h"
  12. class Booking : public CDialog
  13. {
  14. int m_pos;
  15. CArray<CStringArray, CStringArray>m_Clientarray;
  16. CStringArray m_array;
  17. // Construction
  18. public:
  19. Booking(CWnd* pParent = NULL); // standard constructor
  20. CString m_id;
  21. // Dialog Data
  22. //{{AFX_DATA(Booking)
  23. enum {
  24. IDD = IDD_DLGBooking
  25. };
  26. CDateEdit m_dateedit;
  27. CComboBox m_combodatetime;
  28. CComboBox m_combotype;
  29. CString m_name1;
  30. CString m_name2;
  31. CString m_date;
  32. CString m_taketime;
  33. //}}AFX_DATA
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(Booking)
  37. protected:
  38. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  39. //}}AFX_VIRTUAL
  40. // Implementation
  41. protected:
  42. // Generated message map functions
  43. //{{AFX_MSG(Booking)
  44. virtual void OnOK();
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnSelchangeCombo1();
  47. afx_msg void OnClose();
  48. virtual void OnCancel();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  54. #endif // !defined(AFX_BOOKING_H__B0E592D3_7AD9_4C4C_BFBD_C144E380DCC4__INCLUDED_)