#if !defined(AFX_Booking_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_) #define AFX_Booking_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // Booking.h : header file // ///////////////////////////////////////////////////////////////////////////// // Booking form view #ifndef __AFXEXT_H__ #include #endif #include "EditListCtrl.h" class Booking : public CFormView { CArraym_List1array; CArraym_List2array; CArraym_List3array; CArraym_sparray; CStringArray m_renyuanarray; CString m_taoxiid; CString m_waiter1; CString m_waiter2; CString m_waiter3; CString m_waiter4; CString m_choosephotomoney; CString m_takephotomoney; int m_nFocusPos; protected: Booking(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(Booking) // Form Data public: //{{AFX_DATA(Booking) #ifdef MODERN_VERSION enum { IDD = IDD_DLGBooking2 }; #else enum { IDD = IDD_DLGBooking }; #endif CNumEdit m_numedit3; CDateEdit m_datectrl2; CDateEdit m_datectrl1; CNumEdit m_edit2; CNumEdit m_edit1; CComboBox m_combobm; CComboBox m_comborenyuan; CComboBox m_comboid; CEditListCtrl m_List3; CEditListCtrl m_List2; CEditListCtrl m_List1; CStatic m_static1; CComboBox m_combotaoxiname; CString m_taoxijiage; CString m_zs; CString m_discount; CString m_money1; CString m_money2; CString m_money3; CString m_name1; CString m_name2; CString m_payed1; CString m_payed2; CString m_payed3; CString m_payed4; CString m_payed5; CString m_time1; CString m_time2; CString m_time3; CString m_bz; CString m_clothescount; CString m_clothescount2; CString m_outside; CString m_outside2; CString m_style; CString m_waiter6; //}}AFX_DATA // Attributes public: // Operations public: void SetSPName2(); void ClearCtrl(); void SetSPName3(); void SetSPName1(); CString GetSPNameFromId(CString id); float GetSPPriceFromId(CString id); void GetData(); void FillGrid(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(Booking) public: virtual void OnInitialUpdate(); virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: virtual ~Booking(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif // Generated message map functions //{{AFX_MSG(Booking) afx_msg void OnBUTsave(); afx_msg void OnBUTclose(); afx_msg void OnSelchangeCOMBOtaoxiname(); afx_msg void OnBUTspbox(); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnChangeEDITtaoxijiage(); afx_msg void OnChangeEDITdiscount(); afx_msg void OnChangeEDITpayed1(); afx_msg void OnDropdownCOMBObm(); afx_msg void OnDropdownCOMBOrenyuan(); afx_msg void OnSelchangeCOMBObm(); afx_msg void OnDropdownCOMBOid(); afx_msg void OnSelchangeCOMBOid(); afx_msg void OnBUTclient(); afx_msg void OnBUTWaiter(); afx_msg void OnButton1(); afx_msg void OnBUTprint(); afx_msg void OnBUTstyle(); afx_msg void OnBUTdel(); afx_msg void OnBUTdelall(); afx_msg void OnBUTspbox2(); afx_msg void OnBUTdel3(); afx_msg void OnBUTdelall2(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_Booking_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)