ChoosePhotoSkin3.h 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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
  6. #include "resource.h"
  7. #include "EditListCtrl.h"
  8. #include "EditListCtrl2.h"
  9. #include "ChoosePhotoSkin2.h"
  10. class ChoosePhotoSkin3 : public CDialog
  11. {
  12. CStringArray m_noarray;//no备份 ,11,12,13, 格式
  13. CStringArray m_no2array;//no备份 ,11,12,13, 格式
  14. public:
  15. // 删除相片时,所选择的模式:m_delphotosMode==0,为选片模式,m_delphotosMode==1为看设计模式;默认为0
  16. //int m_delphotosMode; // 已使用GetParent()->m_mode2;
  17. BOOL m_bReChoose; // 重选;
  18. public:
  19. float GetMoney();
  20. float GetMoney2();
  21. BOOL m_bExit;
  22. CString m_oldmoney3;
  23. BOOL m_bSaveFail;
  24. BOOL m_bPushedSave;
  25. void SetSPName2();
  26. CArray<CStringArray, CStringArray>m_sparraybak;
  27. ChoosePhotoSkin2 *m_pParent;
  28. void LoadData(BOOL bLoad);
  29. CString GetSPNameFromId(CString id);
  30. float GetSPPriceFromId(CString id);
  31. void GetSPInfoFromName(CString name, CString &id, CString &splb);
  32. void SetSPName3();
  33. void UpdateChooseZS();
  34. BOOL m_bSave;
  35. BOOL m_bModify;
  36. void UpdateTakeZS();
  37. int GetZS(CString str);
  38. CString GetLB(CString name);
  39. CString m_id;
  40. CString m_path;
  41. ChoosePhotoSkin3(CWnd* pParent = NULL); // standard constructor
  42. enum { IDD = IDD_DLGChoosePhotoSkin3 };
  43. CDateEdit m_datectrl2;
  44. CComboBox m_combo1;
  45. CDateEdit m_datenum;
  46. CComboBox m_combourgent;
  47. CNumEdit m_editnum4;
  48. CNumEdit m_editnum3;
  49. CNumEdit m_editnum2;
  50. CNumEdit m_editnum1;
  51. CEditListCtrl2 m_List3; // 制作内容;
  52. CEditListCtrl m_List2; // 预约内容;
  53. CListCtrl m_List1;
  54. CString m_name1;
  55. CString m_time4;
  56. CString m_waiter3;
  57. CString m_takezs;
  58. CString m_taoxizs;
  59. CString m_choosezs;
  60. CString m_money3;
  61. CString m_bz3;
  62. CString m_time5;
  63. CString m_urgent;
  64. CString m_status8;
  65. CString m_time6;
  66. CString m_bz4;
  67. CString m_strStatusOfChoosePhoto; // Jeff.add 2014.08.30。
  68. public:
  69. virtual BOOL PreTranslateMessage(MSG* pMsg);
  70. protected:
  71. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  72. protected:
  73. virtual BOOL OnInitDialog();
  74. virtual void OnOK();
  75. virtual void OnCancel();
  76. afx_msg void OnClose();
  77. afx_msg void OnButton1();
  78. afx_msg void OnButton2();
  79. afx_msg void OnButton3(); // 刷新按钮;
  80. afx_msg void OnButton4(); // 保存按钮;
  81. afx_msg void OnTimer(UINT nIDEvent);
  82. afx_msg void OnSpBox();
  83. afx_msg void OnButton8(); // 删除按钮;
  84. afx_msg void OnButton5();
  85. afx_msg void OnButton6();
  86. afx_msg void OnBTNprint();
  87. afx_msg void OnButton9();
  88. afx_msg void OnBTNprint2();
  89. afx_msg void OnButton12();
  90. afx_msg long UpdateTakeZS(WPARAM inWParam, LPARAM inLParam);
  91. DECLARE_MESSAGE_MAP()
  92. public:
  93. afx_msg void OnBnClickedMicroshare();
  94. };
  95. #endif