ChoosePhotoForm.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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. /////////////////////////////////////////////////////////////////////////////
  9. // ChoosePhotoForm form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. class ChoosePhotoForm : public CFormView
  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. int FindArray(CStringArray *pArray, CString *pStr);
  33. void GetNo(CString str, CStringArray &array);
  34. void FillGrid(BOOL bStatus=0);
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(ChoosePhotoForm)
  38. public:
  39. virtual void OnInitialUpdate();
  40. virtual BOOL PreTranslateMessage(MSG* pMsg);
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. protected:
  46. virtual ~ChoosePhotoForm();
  47. #ifdef _DEBUG
  48. virtual void AssertValid() const;
  49. virtual void Dump(CDumpContext& dc) const;
  50. #endif
  51. // Generated message map functions
  52. //{{AFX_MSG(ChoosePhotoForm)
  53. afx_msg void OnBUTclose();
  54. afx_msg void OnButton1();
  55. afx_msg void OnSelchangeCombo1();
  56. afx_msg void OnTimer(UINT nIDEvent);
  57. afx_msg void OnBUTshowphoto();
  58. afx_msg void OnBUTmoney();
  59. afx_msg void OnBUTexportphoto();
  60. afx_msg void OnButton2();
  61. //}}AFX_MSG
  62. DECLARE_MESSAGE_MAP()
  63. };
  64. /////////////////////////////////////////////////////////////////////////////
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_ChoosePhotoForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)