ChoosePhotoForm.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. // Overrides
  39. // ClassWizard generated virtual function overrides
  40. //{{AFX_VIRTUAL(ChoosePhotoForm)
  41. public:
  42. virtual void OnInitialUpdate();
  43. virtual BOOL PreTranslateMessage(MSG* pMsg);
  44. protected:
  45. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  46. //}}AFX_VIRTUAL
  47. // Implementation
  48. protected:
  49. virtual ~ChoosePhotoForm();
  50. #ifdef _DEBUG
  51. virtual void AssertValid() const;
  52. virtual void Dump(CDumpContext& dc) const;
  53. #endif
  54. // Generated message map functions
  55. //{{AFX_MSG(ChoosePhotoForm)
  56. afx_msg void OnBUTclose();
  57. afx_msg void OnButton1();
  58. afx_msg void OnSelchangeCombo1();
  59. afx_msg void OnTimer(UINT nIDEvent);
  60. afx_msg void OnBUTshowphoto(); // Jeff.开始选片;
  61. afx_msg void OnBUTmoney();
  62. afx_msg void OnBUTexportphoto();
  63. afx_msg void OnButton2(); // 已修未选;
  64. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  65. afx_msg void OnBtnsearchfilter(); // 条件查询;
  66. afx_msg void OnBUTexportphoto2();
  67. afx_msg void OnBUTexportphoto3();
  68. //}}AFX_MSG
  69. DECLARE_MESSAGE_MAP()
  70. };
  71. /////////////////////////////////////////////////////////////////////////////
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  74. #endif // !defined(AFX_ChoosePhotoForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)