ChoosePhotoForm.h 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. #if !defined(AFX_ChoosePhotoForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_ChoosePhotoForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // ChoosePhotoForm.h : header file
  7. /////////////////////////////////////////////////////////////////////////////
  8. // ChoosePhotoForm form view
  9. #ifndef __AFXEXT_H__
  10. #include <afxext.h>
  11. #endif
  12. #include "MyFormView.h"
  13. class ChoosePhotoForm : public MyFormView
  14. {
  15. CArray<CStringArray, CStringArray>m_List1array;
  16. protected:
  17. ChoosePhotoForm(); // protected constructor used by dynamic creation
  18. DECLARE_DYNCREATE(ChoosePhotoForm)
  19. // Form Data
  20. public:
  21. //{{AFX_DATA(ChoosePhotoForm)
  22. enum { IDD = IDD_DLGChoosePhotoForm };
  23. CComboBox m_combo1;
  24. CSortListCtrl2 m_List1;
  25. CStatic m_static1;
  26. CString m_filter;
  27. //}}AFX_DATA
  28. // Attributes
  29. public:
  30. // Operations
  31. public:
  32. void ClearHC();
  33. BOOL IsPhoto2Exist(CString m_id);
  34. void HidePrice();
  35. int FindArray(CStringArray *pArray, CString *pStr);
  36. void GetNo(CString str, CStringArray &array);
  37. void FillGrid(BOOL bStatus=0);
  38. void GetTXName(const CString* pStrOrder, const int nModle, BOOL& bGrowthTx, CString& strTxName);
  39. void GetPhotosDir(const CString& strID, const int nMode, const BOOL bGrowthTx, const CString& strTxName, CStringArray& photoDirArr);
  40. void GetPhotoFiles(CStringArray* photoDirArr, CStringArray& filesArr);
  41. // Overrides
  42. // ClassWizard generated virtual function overrides
  43. //{{AFX_VIRTUAL(ChoosePhotoForm)
  44. public:
  45. virtual void OnInitialUpdate();
  46. virtual BOOL PreTranslateMessage(MSG* pMsg);
  47. protected:
  48. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  49. //}}AFX_VIRTUAL
  50. // Implementation
  51. protected:
  52. virtual ~ChoosePhotoForm();
  53. #ifdef _DEBUG
  54. virtual void AssertValid() const;
  55. virtual void Dump(CDumpContext& dc) const;
  56. #endif
  57. // Generated message map functions
  58. //{{AFX_MSG(ChoosePhotoForm)
  59. afx_msg void OnBUTclose();
  60. afx_msg void OnButton1();
  61. afx_msg void OnSelchangeCombo1();
  62. afx_msg void OnTimer(UINT nIDEvent);
  63. afx_msg void OnBUTshowphoto(); // Jeff.开始选片;
  64. afx_msg void OnBUTmoney();
  65. afx_msg void OnBUTexportphoto();
  66. afx_msg void OnButton2(); // 已修未选;
  67. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  68. afx_msg void OnBtnsearchfilter(); // 条件查询;
  69. afx_msg void OnBUTexportphoto2();
  70. afx_msg void OnBUTexportphoto3();
  71. //}}AFX_MSG
  72. DECLARE_MESSAGE_MAP()
  73. public:
  74. afx_msg void OnBnClickedClounxp();
  75. afx_msg void OnBnClickedClounxpresult();
  76. };
  77. /////////////////////////////////////////////////////////////////////////////
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  80. #endif // !defined(AFX_ChoosePhotoForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)