12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- #if !defined(AFX_ChoosePhotoForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_ChoosePhotoForm_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- #include "MyFormView.h"
- class ChoosePhotoForm : public MyFormView
- {
- CArray<CStringArray, CStringArray>m_List1array;
- protected:
- ChoosePhotoForm();
- DECLARE_DYNCREATE(ChoosePhotoForm)
- public:
-
- enum { IDD = IDD_DLGChoosePhotoForm };
- CComboBox m_combo1;
- CSortListCtrl2 m_List1;
- CStatic m_static1;
- CString m_filter;
-
- public:
- public:
- void ClearHC();
- BOOL IsPhoto2Exist(CString m_id);
- void HidePrice();
- int FindArray(CStringArray *pArray, CString *pStr);
- void GetNo(CString str, CStringArray &array);
- void FillGrid(BOOL bStatus=0);
- void GetTXName(const CString* pStrOrder, const int nModle, BOOL& bGrowthTx, CString& strTxName);
- void GetPhotosDir(const CString& strID, const int nMode, const BOOL bGrowthTx, const CString& strTxName, CStringArray& photoDirArr);
- void GetPhotoFiles(CStringArray* photoDirArr, CStringArray& filesArr);
-
-
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
-
- protected:
- virtual ~ChoosePhotoForm();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
-
-
- afx_msg void OnBUTclose();
- afx_msg void OnButton1();
- afx_msg void OnSelchangeCombo1();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnBUTshowphoto();
- afx_msg void OnBUTmoney();
- afx_msg void OnBUTexportphoto();
- afx_msg void OnButton2();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBtnsearchfilter();
- afx_msg void OnBUTexportphoto2();
- afx_msg void OnBUTexportphoto3();
-
- DECLARE_MESSAGE_MAP()
- public:
- afx_msg void OnBnClickedClounxp();
- afx_msg void OnBnClickedClounxpresult();
- };
- #endif
|