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
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- #include "TreeComboBox.h"
- class HospitalClient : public MyFormView
- {
- BOOL m_bSearchAll;
- CArray<CStringArray, CStringArray>m_List1array;
- protected:
- HospitalClient();
- DECLARE_DYNCREATE(HospitalClient)
-
- 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;
- CTime m_date1;
- CTime m_date2;
- CString m_addr;
- CString m_phone;
- CString m_id;
- CString m_name;
-
-
- public:
-
- 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();
-
-
- public:
- virtual void OnInitialUpdate();
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
-
-
- protected:
- virtual ~HospitalClient();
- #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 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 void OnCustomdrawList(NMHDR*, LRESULT*);
- DECLARE_MESSAGE_MAP()
- };
- #endif
|