📄 hospitalview.h
字号:
// HospitalView.h : interface of the CHospitalView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_HOSPITALVIEW_H__EB715A7F_2B3B_43AB_A74D_57D2928DD8D4__INCLUDED_)
#define AFX_HOSPITALVIEW_H__EB715A7F_2B3B_43AB_A74D_57D2928DD8D4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "msword9.h"
#include <comdef.h> // COM数据类型头文件
class CHospitalView : public CFormView
{
protected: // create from serialization only
CHospitalView();
DECLARE_DYNCREATE(CHospitalView)
public:
//{{AFX_DATA(CHospitalView)
enum { IDD = IDD_HOSPITAL_FORM };
CListCtrl m_listRecord;
CComboBox m_combTableName;
//}}AFX_DATA
// Attributes
public:
CHospitalDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CHospitalView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
_Application WordApp; // Word应用程序对象
Documents WordDocs; // 文档对象
_Document WordDoc;
Window window;
View view;
Range range;
Bookmarks bookmarks; // 书签对象
Bookmark bookmark;
Fields fields; // 域对象
Field field;
void OpenRecordSet();
CString m_sGetString;
int m_nField;
void GetTableInfo(long row, long column);
CDaoRecordset* m_pRecordSet;
CDaoDatabase* m_pDB;
virtual ~CHospitalView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CHospitalView)
afx_msg void OnMedicament();
afx_msg void OnPrice();
afx_msg void OnDiagnose();
afx_msg void OnPerson();
afx_msg void OnSelchangeTablename();
afx_msg void OnRecipe();
afx_msg void OnInvoice();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in HospitalView.cpp
inline CHospitalDoc* CHospitalView::GetDocument()
{ return (CHospitalDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_HOSPITALVIEW_H__EB715A7F_2B3B_43AB_A74D_57D2928DD8D4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -