1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- #if !defined(AFX_outsourcing_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_outsourcing_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- typedef struct _BAR_INFO_
- {
- CString strOrderNum;
- CString strCustomer1;
- CString strCustomer2;
- CString strProduct;
- CString strAutoId;
- }BarInfo, *pBarInfo;
- class outsourcing : public MyFormView
- {
- int m_nAdd;
- CArray<CStringArray, CStringArray>m_List1array;
- protected:
- outsourcing(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(outsourcing)
- // Form Data
- public:
- enum { IDD = IDD_DLGoutsourcing };
- CComboBox m_combo1;
- CSortListCtrl3 m_List1;
- CStatic m_static1;
- CString m_filter;
- public:
- void GetData();
- void HidePrice();
- int FindArray(CStringArray *pArray, CString *pStr);
- void GetSavePath(CString &path);
- void GetNo(CString str, CStringArray &array);
- void FillGrid(BOOL bStatus = 0);
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- virtual ~outsourcing();
- #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 OnBUTmodify();
- afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTexport();
- afx_msg void OnBUTmodify2();
- afx_msg void OnRdblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTToPhotoPrint();
- afx_msg void OnBUTburncd();
- afx_msg void OnButton2();
- afx_msg void OnButton3();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTburncd2();
- afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
- DECLARE_MESSAGE_MAP()
-
- public:
- vector<BarInfo> m_vtBarInfo;
- afx_msg void OnBnClickedSendsms();
- afx_msg void OnBnClickedPrintbar();
- afx_msg void OnBnClickedScanbackitem();
- afx_msg void OnBnClickedScanpickup();
- };
- #endif
|