#if !defined(AFX_BOOKINGPAGE1_H__787DCABB_FEDF_4B87_A4F4_876CD968B2BF__INCLUDED_) #define AFX_BOOKINGPAGE1_H__787DCABB_FEDF_4B87_A4F4_876CD968B2BF__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // BookingPage1.h : header file // ///////////////////////////////////////////////////////////////////////////// // BookingPage1 dialog #include "TreeComboBox3.h" #include "EditListCtrl.h" #include "afxwin.h" #include "RuleEdit.h" /* #ifdef CHILD_VERSION enum { IDD = IDD_DLGBookingPage11 }; #else enum { IDD = IDD_DLGBookingPage1 }; #endif */ class BookingPage1 : public CDialog { int m_ncurgrowth; float m_cost1; float m_cost2; CString m_oldtaoxijiage; // Construction public: void UpDateGrowthTX(); void SelFirst(); BOOL m_bGrowthTX; float m_saleprice1; float m_saleprice2; void NewDan(); CArraym_List1arrayM; // dindanjd±í,case 150; CArraym_Bakarray; // dindansp±í,case 56; CArraym_List1Bakarray; CArraym_List3Bakarray; CArraym_List1array; // taoxi±í,case 6; CArraym_List2array; // taoxishangpin1,case 7; CArraym_List3array; // taoxishangpin2,case 10; CArraym_sparray; // shangpin,case 4; CArraym_txlbarray; CArraym_List1arraygrowthbak; CString m_from; CString m_txtype; CString m_growthtxselname; CString m_taoxiid; CString m_dindantype; CString m_authorize; BOOL NewID(); BOOL CheckOK(); float GetSPPriceFromId(CString id); float GetSPPriceFromId3(CString id); void CalculateCost2(); void CalculateCost(); void CalculateCostGrowthTX(); CString GetSPPriceFromId2(CString id); CString GetSPNameFromId(CString id); void FillGrid(); CRect m_rc; BookingPage1(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(BookingPage1) #ifdef CHILD_VERSION enum { IDD = IDD_DLGBookingPage11 }; #else enum { IDD = IDD_DLGBookingPage1 }; #endif CListBox m_listbox1; CNumEdit m_editnum3; CNumEdit m_editnum2; CNumEdit m_editnum1; CEditListCtrl m_List3; CEditListCtrl m_List1; CTreeComboBox3 m_combotaoxiname; CComboBox m_combotype; CComboBox m_combofrom; CComboBox m_combodindantype; CString m_contractno; CString m_contractno2; CString m_bz; CString m_taoxijiage; CString m_payed1; CString m_zs; CString m_zs2; CString m_id; CString m_taoxiname; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(BookingPage1) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(BookingPage1) virtual void OnCancel(); virtual void OnOK(); virtual BOOL OnInitDialog(); afx_msg void OnSelchangeCOMBOtaoxiname(); afx_msg void OnBUTdelall2(); afx_msg void OnBUTdel3(); afx_msg void OnBUTspbox2(); afx_msg void OnBUTdelall(); afx_msg void OnBUTdel(); afx_msg void OnBUTspbox(); afx_msg void OnBUTdeljd(); afx_msg void OnBUTSetJD(); afx_msg void OnBUTaddjd(); afx_msg void OnButton1(); afx_msg void OnButton22(); afx_msg void OnButton2(); afx_msg void OnButton9(); afx_msg void OnDropdownCOMBOtype2(); afx_msg void OnDropdownCOMBOtype3(); afx_msg void OnSelchangeCOMBOtype2(); afx_msg void OnButton14(); #ifdef VC60 afx_msg void OnListInputEnd(WPARAM a,LPARAM lParam); #else afx_msg LRESULT OnListInputEnd(WPARAM a,LPARAM lParam); #endif afx_msg void OnCloseupCOMBOtaoxiname(); afx_msg void OnSelchangeList9(); //}}AFX_MSG DECLARE_MESSAGE_MAP() public: CRuleEdit m_OrderNumberEdit; }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_BOOKINGPAGE1_H__787DCABB_FEDF_4B87_A4F4_876CD968B2BF__INCLUDED_)