ChoosePhotoSkin3.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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 "EditListCtrl2.h"
  13. #include "ChoosePhotoSkin2.h"
  14. class ChoosePhotoSkin3 : public CDialog
  15. {
  16. CStringArray m_noarray;//no备份 ,11,12,13, 格式
  17. CStringArray m_no2array;//no备份 ,11,12,13, 格式
  18. public:
  19. // 删除相片时,所选择的模式:m_delphotosMode==0,为选片模式,m_delphotosMode==1为看设计模式;默认为0
  20. //int m_delphotosMode; // 已使用GetParent()->m_mode2;
  21. // Construction
  22. public:
  23. float GetMoney();
  24. float GetMoney2();
  25. BOOL m_bExit;
  26. CString m_oldmoney3;
  27. BOOL m_bSaveFail;
  28. BOOL m_bPushedSave;
  29. void SetSPName2();
  30. CArray<CStringArray, CStringArray>m_sparraybak;
  31. ChoosePhotoSkin2 *m_pParent;
  32. void LoadData(BOOL bLoad);
  33. CString GetSPNameFromId(CString id);
  34. float GetSPPriceFromId(CString id);
  35. void GetSPInfoFromName(CString name, CString &id, CString &splb);
  36. void SetSPName3();
  37. void UpdateChooseZS();
  38. BOOL m_bSave;
  39. BOOL m_bModify;
  40. void UpdateTakeZS();
  41. int GetZS(CString str);
  42. CString GetLB(CString name);
  43. CString m_id;
  44. CString m_path;
  45. ChoosePhotoSkin3(CWnd* pParent = NULL); // standard constructor
  46. // Dialog Data
  47. //{{AFX_DATA(ChoosePhotoSkin3)
  48. enum { IDD = IDD_DLGChoosePhotoSkin3 };
  49. CDateEdit m_datectrl2;
  50. CComboBox m_combo1;
  51. CDateEdit m_datenum;
  52. CComboBox m_combourgent;
  53. CNumEdit m_editnum4;
  54. CNumEdit m_editnum3;
  55. CNumEdit m_editnum2;
  56. CNumEdit m_editnum1;
  57. CEditListCtrl2 m_List3;
  58. CEditListCtrl m_List2;
  59. CListCtrl m_List1;
  60. CString m_name1;
  61. CString m_time4;
  62. CString m_waiter3;
  63. CString m_takezs;
  64. CString m_taoxizs;
  65. CString m_choosezs;
  66. CString m_money3;
  67. CString m_bz3;
  68. CString m_time5;
  69. CString m_urgent;
  70. CString m_status8;
  71. CString m_time6;
  72. CString m_bz4;
  73. //}}AFX_DATA
  74. // Overrides
  75. // ClassWizard generated virtual function overrides
  76. //{{AFX_VIRTUAL(ChoosePhotoSkin3)
  77. public:
  78. virtual BOOL PreTranslateMessage(MSG* pMsg);
  79. protected:
  80. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  81. //}}AFX_VIRTUAL
  82. // Implementation
  83. protected:
  84. // Generated message map functions
  85. //{{AFX_MSG(ChoosePhotoSkin3)
  86. virtual BOOL OnInitDialog();
  87. virtual void OnOK();
  88. virtual void OnCancel();
  89. afx_msg void OnClose();
  90. afx_msg void OnButton1();
  91. afx_msg void OnButton2();
  92. afx_msg void OnButton3();
  93. afx_msg void OnButton4(); // 保存按钮;
  94. afx_msg void OnTimer(UINT nIDEvent);
  95. afx_msg void OnSpBox();
  96. afx_msg void OnButton8();
  97. afx_msg void OnButton5();
  98. afx_msg void OnButton6();
  99. afx_msg void OnBTNprint();
  100. afx_msg void OnButton9();
  101. afx_msg void OnBTNprint2();
  102. afx_msg void OnButton12();
  103. //}}AFX_MSG
  104. afx_msg long UpdateTakeZS(WPARAM inWParam, LPARAM inLParam);
  105. DECLARE_MESSAGE_MAP()
  106. };
  107. //{{AFX_INSERT_LOCATION}}
  108. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  109. #endif // !defined(AFX_ChoosePhotoSkin3_H__10660444_160F_41F4_9A1D_50A4F7C66150__INCLUDED_)