outsourcing.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. typedef struct _BAR_INFO_
  10. {
  11. CString strOrderNum;
  12. CString strCustomer1;
  13. CString strCustomer2;
  14. CString strProduct;
  15. CString strAutoId;
  16. }BarInfo, *pBarInfo;
  17. class outsourcing : public MyFormView
  18. {
  19. int m_nAdd;
  20. CArray<CStringArray, CStringArray>m_List1array;
  21. protected:
  22. outsourcing(); // protected constructor used by dynamic creation
  23. DECLARE_DYNCREATE(outsourcing)
  24. // Form Data
  25. public:
  26. enum { IDD = IDD_DLGoutsourcing };
  27. CComboBox m_combo1;
  28. CSortListCtrl3 m_List1;
  29. CStatic m_static1;
  30. CString m_filter;
  31. public:
  32. void GetData();
  33. void HidePrice();
  34. int FindArray(CStringArray *pArray, CString *pStr);
  35. void GetSavePath(CString &path);
  36. void GetNo(CString str, CStringArray &array);
  37. void FillGrid(BOOL bStatus = 0);
  38. public:
  39. virtual void OnInitialUpdate();
  40. virtual BOOL PreTranslateMessage(MSG* pMsg);
  41. protected:
  42. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  43. virtual ~outsourcing();
  44. #ifdef _DEBUG
  45. virtual void AssertValid() const;
  46. virtual void Dump(CDumpContext& dc) const;
  47. #endif
  48. afx_msg void OnBUTclose();
  49. afx_msg void OnButton1();
  50. afx_msg void OnSelchangeCombo1();
  51. afx_msg void OnTimer(UINT nIDEvent);
  52. afx_msg void OnBUTmodify();
  53. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  54. afx_msg void OnBUTexport();
  55. afx_msg void OnBUTmodify2();
  56. afx_msg void OnRdblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  57. afx_msg void OnBUTToPhotoPrint();
  58. afx_msg void OnBUTburncd();
  59. afx_msg void OnButton2();
  60. afx_msg void OnButton3();
  61. afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
  62. afx_msg void OnBUTburncd2();
  63. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  64. DECLARE_MESSAGE_MAP()
  65. public:
  66. vector<BarInfo> m_vtBarInfo;
  67. afx_msg void OnBnClickedSendsms();
  68. afx_msg void OnBnClickedPrintbar();
  69. afx_msg void OnBnClickedScanbackitem();
  70. afx_msg void OnBnClickedScanpickup();
  71. };
  72. #endif