DigitalWork.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #if !defined(AFX_DigitalWork_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_DigitalWork_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // DigitalWork.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // DigitalWork form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. class DigitalWork : public MyFormView
  14. {
  15. int m_nAdd;
  16. CArray<CStringArray, CStringArray>m_List1array;
  17. protected:
  18. DigitalWork(); // protected constructor used by dynamic creation
  19. DECLARE_DYNCREATE(DigitalWork)
  20. // Form Data
  21. public:
  22. CArray<CStringArray, CStringArray>m_workarray;//¸÷ÊýÂëʦ¹¤×÷
  23. enum { IDD = IDD_DLGDigitalWorkFrom };
  24. CComboBox m_combo1;
  25. CSortListCtrl2 m_List1;
  26. CStatic m_static1;
  27. CString m_filter;
  28. //}}AFX_DATA
  29. // Attributes
  30. public:
  31. // Operations
  32. public:
  33. void GetData2();
  34. void HidePrice();
  35. void GetData();
  36. int FindName(CString name, CArray<CStringArray, CStringArray>*List1array);
  37. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  38. int FindArray(CStringArray *pArray, CString Str);
  39. void GetSavePath(CString &path);
  40. void GetNo(CString str, CStringArray &array);
  41. void FillGrid(BOOL bStatus=0);
  42. // Overrides
  43. // ClassWizard generated virtual function overrides
  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 ~DigitalWork();
  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 void OnBUTclose();
  59. afx_msg void OnButton1();
  60. afx_msg void OnSelchangeCombo1();
  61. afx_msg void OnTimer(UINT nIDEvent);
  62. afx_msg void OnBUTshowphoto();
  63. afx_msg void OnBUTexportphoto();
  64. afx_msg void OnBUTimportphoto();
  65. afx_msg void OnButton2();
  66. afx_msg void OnButton3();
  67. afx_msg void OnButton4();
  68. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  69. afx_msg void OnBUTimportphoto2();
  70. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  71. afx_msg void OnBtnsearchfilter();
  72. //}}AFX_MSG
  73. DECLARE_MESSAGE_MAP()
  74. };
  75. /////////////////////////////////////////////////////////////////////////////
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  78. #endif // !defined(AFX_DigitalWork_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)