ChoosePhotoSkin3.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #if !defined(AFX_ChoosePhotoSkin3_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_)
  2. #define AFX_ChoosePhotoSkin3_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ChoosePhotoSkin3.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // ChoosePhotoSkin3 dialog
  10. #include "resource.h"
  11. #include "EditListCtrl.h"
  12. #include "ChoosePhotoSkin2.h"
  13. class ChoosePhotoSkin3 : public CDialog
  14. {
  15. CStringArray m_noarray;//no±¸·Ý ,11,12,13, ¸ñʽ
  16. CStringArray m_no2array;//no±¸·Ý ,11,12,13, ¸ñʽ
  17. // Construction
  18. public:
  19. BOOL m_bSaveFail;
  20. BOOL m_bPushedSave;
  21. void SetSPName2();
  22. CArray<CStringArray, CStringArray>m_sparraybak;
  23. ChoosePhotoSkin2 *m_pParent;
  24. void LoadData(BOOL bLoad);
  25. CString GetSPNameFromId(CString id);
  26. float GetSPPriceFromId(CString id);
  27. void SetSPName3();
  28. void UpdateChooseZS();
  29. BOOL m_bSave;
  30. BOOL m_bModify;
  31. void UpdateTakeZS();
  32. int GetZS(CString str);
  33. CString m_id;
  34. CString m_path;
  35. ChoosePhotoSkin3(CWnd* pParent = NULL); // standard constructor
  36. // Dialog Data
  37. //{{AFX_DATA(ChoosePhotoSkin3)
  38. enum { IDD = IDD_DLGChoosePhotoSkin3 };
  39. CDateEdit m_datenum;
  40. CComboBox m_combourgent;
  41. CNumEdit m_editnum4;
  42. CNumEdit m_editnum3;
  43. CNumEdit m_editnum2;
  44. CNumEdit m_editnum1;
  45. CEditListCtrl m_List3;
  46. CEditListCtrl m_List2;
  47. CListCtrl m_List1;
  48. CString m_name1;
  49. CString m_name2;
  50. CString m_time4;
  51. CString m_waiter3;
  52. CString m_takezs;
  53. CString m_taoxizs;
  54. CString m_choosezs;
  55. CString m_money3;
  56. CString m_bz3;
  57. CString m_time5;
  58. CString m_urgent;
  59. //}}AFX_DATA
  60. // Overrides
  61. // ClassWizard generated virtual function overrides
  62. //{{AFX_VIRTUAL(ChoosePhotoSkin3)
  63. public:
  64. virtual BOOL PreTranslateMessage(MSG* pMsg);
  65. protected:
  66. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  67. //}}AFX_VIRTUAL
  68. // Implementation
  69. protected:
  70. // Generated message map functions
  71. //{{AFX_MSG(ChoosePhotoSkin3)
  72. virtual BOOL OnInitDialog();
  73. virtual void OnOK();
  74. virtual void OnCancel();
  75. afx_msg void OnClose();
  76. afx_msg void OnButton1();
  77. afx_msg void OnButton2();
  78. afx_msg void OnButton3();
  79. afx_msg void OnButton4();
  80. afx_msg void OnTimer(UINT nIDEvent);
  81. afx_msg void OnSpBox();
  82. afx_msg void OnButton8();
  83. afx_msg void OnButton5();
  84. afx_msg void OnButton6();
  85. afx_msg void OnBTNprint();
  86. afx_msg void OnButton9();
  87. //}}AFX_MSG
  88. afx_msg long UpdateTakeZS(WPARAM inWParam, LPARAM inLParam);
  89. DECLARE_MESSAGE_MAP()
  90. };
  91. //{{AFX_INSERT_LOCATION}}
  92. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  93. #endif // !defined(AFX_ChoosePhotoSkin3_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_)