123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- #if !defined(AFX_HospitalClient_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
- #define AFX_HospitalClient_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // HospitalClient.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // HospitalClient form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- #include "TreeComboBox.h"
- class HospitalClient : public MyFormView
- {
- BOOL m_bSearchAll; // 是否全部查询;
- CArray<CStringArray, CStringArray>m_List1array; // 查询hostpitalview的全部结果;
- protected:
- HospitalClient(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(HospitalClient)
- // Form Data
- public:
- enum { IDD = IDD_DLGhospitalclient };
- CTreeComboBox clerkCombo; // 门市
- CComboBox typeCombo; // 客户类别;
- CComboBox fromCombo; // 客户区域下拉;
- CComboBox hospitalCombo; // 来单医院
- CComboBox businessintentionCombo; // 业务意向;
- CComboBox businesstypeCombo; // 业务种类下拉框;
-
- CSortListCtrl2 m_List1;
- CStatic m_static1;
- int m_datetype; // 上门时间radio
- CTime m_date1; // 时间控件:开始时间;
- CTime m_date2; // 时间控件:结束时间;
- CString m_addr; // 地址;
- CString m_phone; // 电话;
- CString m_id; // 单号
- CString m_name; // 姓名;
- //}}AFX_DATA
- // Attributes
- public:
- // Operations
- public:
- void GetData();
- CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
- int FindArray(CStringArray *pArray, CString Str);
- void GetSavePath(CString &path);
- void GetNo(CString str, CStringArray &array);
- void FillGrid();
- // Overrides
- // ClassWizard generated virtual function overrides
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~HospitalClient();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- 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 OnBUTHospitalClient();
- afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
- afx_msg void OnBUTburncd2();
- afx_msg void OnBUTburncd3();
- afx_msg void OnBUTsendmsg();
- afx_msg void OnBUTprint3();
- //}}AFX_MSG
- afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_HospitalClient_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
|