1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- #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 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_)
|