HospitalClientMsg.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #if !defined(AFX_HospitalClientMsg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)
  2. #define AFX_HospitalClientMsg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // HospitalClientMsg.h : header file
  7. //
  8. /////////////////////////////////////////////////////////////////////////////
  9. // HospitalClientMsg form view
  10. #ifndef __AFXEXT_H__
  11. #include <afxext.h>
  12. #endif
  13. #include "TreeComboBox.h"
  14. class HospitalClientMsg : public MyFormView
  15. {
  16. BOOL m_bSearchAll;
  17. CArray<CStringArray, CStringArray>m_List1array;
  18. protected:
  19. HospitalClientMsg(); // protected constructor used by dynamic creation
  20. DECLARE_DYNCREATE(HospitalClientMsg)
  21. // Form Data
  22. public:
  23. //{{AFX_DATA(HospitalClientMsg)
  24. enum { IDD = IDD_DLGhospitalclientMsg };
  25. CSpinButtonCtrl m_spin2;
  26. CSpinButtonCtrl m_spin1;
  27. CSortListCtrl2 m_List1;
  28. CStatic m_static1;
  29. UINT m_age1;
  30. UINT m_age2;
  31. int m_radio1;
  32. //}}AFX_DATA
  33. // Attributes
  34. public:
  35. // Operations
  36. public:
  37. void GetData();
  38. CString GetSelName(CString name, CArray<CStringArray, CStringArray>&spnamearray);
  39. int FindArray(CStringArray *pArray, CString Str);
  40. void GetSavePath(CString &path);
  41. void GetNo(CString str, CStringArray &array);
  42. void FillGrid();
  43. // Overrides
  44. // ClassWizard generated virtual function overrides
  45. //{{AFX_VIRTUAL(HospitalClientMsg)
  46. public:
  47. virtual void OnInitialUpdate();
  48. virtual BOOL PreTranslateMessage(MSG* pMsg);
  49. protected:
  50. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  51. //}}AFX_VIRTUAL
  52. // Implementation
  53. protected:
  54. virtual ~HospitalClientMsg();
  55. #ifdef _DEBUG
  56. virtual void AssertValid() const;
  57. virtual void Dump(CDumpContext& dc) const;
  58. #endif
  59. // Generated message map functions
  60. //{{AFX_MSG(HospitalClientMsg)
  61. afx_msg void OnBUTclose();
  62. afx_msg void OnSelchangeCombo1();
  63. afx_msg void OnBUTshowphoto();
  64. afx_msg void OnBUTexportphoto();
  65. afx_msg void OnBUTimportphoto();
  66. afx_msg void OnItemchangedList2(NMHDR* pNMHDR, LRESULT* pResult);
  67. afx_msg void OnBUTHospitalClientMsg();
  68. afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
  69. afx_msg void OnBUTburncd2();
  70. afx_msg void OnBUTsendmsg();
  71. afx_msg void OnBUTprint3();
  72. afx_msg void OnButton2();
  73. //}}AFX_MSG
  74. afx_msg void OnCustomdrawList(NMHDR*, LRESULT*);
  75. DECLARE_MESSAGE_MAP()
  76. };
  77. /////////////////////////////////////////////////////////////////////////////
  78. //{{AFX_INSERT_LOCATION}}
  79. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  80. #endif // !defined(AFX_HospitalClientMsg_H__ACD9E9EA_B724_4711_9C6F_DE3ADA090E2E__INCLUDED_)