123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #if !defined(AFX_DesignFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_DesignFrom_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- // 门市流程-设计视图对话框;
- class DesignFrom : public MyFormView
- {
- int m_nAdd;
- CArray<CStringArray, CStringArray>m_List1array;
- CArray<CStringArray, CStringArray>m_List1arraybak;
- protected:
- DesignFrom(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(DesignFrom)
- public:
- enum { IDD = IDD_DLGDesignFrom };
- CComboBox m_combo1;
- CSortListCtrl2 m_List1;
- CStatic m_static1;
- CString m_filter;
- public:
- void GetData();
- void HidePrice();
- CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
- CString GetSelName2(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);
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- protected:
- virtual ~DesignFrom();
- #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 OnBUTshowphoto();
- afx_msg void OnBUTexportphoto();
- afx_msg void OnBUTimportphoto();
- afx_msg void OnButton2();
- afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTimportphoto2();
- afx_msg void OnBUTimportphoto3();
- afx_msg void OnClickList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnButton3();
- afx_msg void OnBtnsearchfilter();
- afx_msg void OnBUTprint3();
- DECLARE_MESSAGE_MAP()
- };
- #endif
|