123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- #if !defined(AFX_DigitalWork_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_DigitalWork_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DigitalWork.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // DigitalWork form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class DigitalWork : public MyFormView
- {
- int m_nAdd;
- CArray<CStringArray, CStringArray>m_List1array;
- protected:
- DigitalWork(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(DigitalWork)
- // Form Data
- public:
- CArray<CStringArray, CStringArray>m_workarray;//¸÷ÊýÂëʦ¹¤×÷
- enum { IDD = IDD_DLGDigitalWorkFrom };
- CComboBox m_combo1;
- CSortListCtrl2 m_List1;
- CStatic m_static1;
- CString m_filter;
- //}}AFX_DATA
- // Attributes
- public:
- // Operations
- public:
- void GetData2();
- void HidePrice();
- void GetData();
- int FindName(CString name, CArray<CStringArray, CStringArray>*List1array);
- CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
- int FindArray(CStringArray *pArray, CString Str);
- void GetSavePath(CString &path);
- void GetNo(CString str, CStringArray &array);
- void FillGrid(BOOL bStatus=0);
- // Overrides
- // ClassWizard generated virtual function overrides
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~DigitalWork();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- 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 OnBUTexportphoto();
- afx_msg void OnBUTimportphoto();
- afx_msg void OnButton2();
- afx_msg void OnButton3();
- afx_msg void OnButton4();
- afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTimportphoto2();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBtnsearchfilter();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DigitalWork_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
|