HospitalClientAlarm.h 2.5 KB

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