outsourcing.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. #if !defined(AFX_outsourcing_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_outsourcing_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif
  6. #ifndef __AFXEXT_H__
  7. #include <afxext.h>
  8. #endif
  9. class outsourcing : public MyFormView
  10. {
  11. int m_nAdd;
  12. CArray<CStringArray, CStringArray>m_List1array;
  13. protected:
  14. outsourcing(); // protected constructor used by dynamic creation
  15. DECLARE_DYNCREATE(outsourcing)
  16. // Form Data
  17. public:
  18. enum { IDD = IDD_DLGoutsourcing };
  19. CComboBox m_combo1;
  20. CSortListCtrl3 m_List1;
  21. CStatic m_static1;
  22. CString m_filter;
  23. public:
  24. void GetData();
  25. void HidePrice();
  26. int FindArray(CStringArray *pArray, CString *pStr);
  27. void GetSavePath(CString &path);
  28. void GetNo(CString str, CStringArray &array);
  29. void FillGrid(BOOL bStatus = 0);
  30. public:
  31. virtual void OnInitialUpdate();
  32. virtual BOOL PreTranslateMessage(MSG* pMsg);
  33. protected:
  34. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  35. virtual ~outsourcing();
  36. #ifdef _DEBUG
  37. virtual void AssertValid() const;
  38. virtual void Dump(CDumpContext& dc) const;
  39. #endif
  40. afx_msg void OnBUTclose();
  41. afx_msg void OnButton1();
  42. afx_msg void OnSelchangeCombo1();
  43. afx_msg void OnTimer(UINT nIDEvent);
  44. afx_msg void OnBUTmodify();
  45. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  46. afx_msg void OnBUTexport();
  47. afx_msg void OnBUTmodify2();
  48. afx_msg void OnRdblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  49. afx_msg void OnBUTToPhotoPrint();
  50. afx_msg void OnBUTburncd();
  51. afx_msg void OnButton2();
  52. afx_msg void OnButton3();
  53. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  54. afx_msg void OnBUTburncd2();
  55. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  56. DECLARE_MESSAGE_MAP()
  57. };
  58. #endif