#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 // Jeff这个类Booking与Booking3都不再使用; #ifndef __AFXEXT_H__ #include #endif #include "EditListCtrl.h" #include "MyFormView.h" #include "BookingPage1.h" class Booking : public MyFormView { BookingPage1 m_page1; 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; float m_cost1; float m_cost2; CString m_memberno; CString m_memberno2; CString m_memberno2date; CString m_membernoname; CString m_membernosex; CString m_membernophone; CString m_membernojiage; int m_type; CString m_sid; CString m_phone1; CString m_phone2; /* #ifdef CHILD_VERSION enum { IDD = IDD_DLGBooking3 }; #else enum { IDD = IDD_DLGBooking }; #endif*/ protected: Booking(); // protected constructor used by dynamic creation DECLARE_DYNCREATE(Booking) public: enum { IDD = IDD_DLGBooking }; CListBox m_listbox1; CNumEdit m_numedit4; CNumEdit m_numedit3; CDateEdit m_datectrl2; CDateEdit m_datectrl1; CDateEdit m_datectrl3; CNumEdit m_edit2; CNumEdit m_edit1; CComboBox m_comboarea; CComboBox m_combobm; CComboBox m_combotype; CComboBox m_comborenyuan; CComboBox m_comboid; CEditListCtrl m_List3; CEditListCtrl m_List1; CStatic m_static1; CComboBox m_combotaoxiname; CString m_taoxijiage; CString taoxiname; 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; public: void SaveCard2Data(); void CalculateCost2(); void CalculateCost(); void SetSPName2(); void ClearCtrl(); void SetSPName3(); void SetSPName1(); CString GetSPNameFromId(CString id); float GetSPPriceFromId(CString id); float GetSPPriceFromId3(CString id); CString GetSPPriceFromId2(CString id); void GetData(); void FillGrid(); public: virtual void OnInitialUpdate(); virtual BOOL PreTranslateMessage(MSG* pMsg); protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support protected: virtual ~Booking(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif 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 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 void OnBUTaddjd(); afx_msg void OnBUTdeljd(); afx_msg void OnBUTinfo1(); // 客人资料 afx_msg void OnBUTinfo2(); afx_msg void OnBUTinfo3(); DECLARE_MESSAGE_MAP() }; #endif