?? hospitalview.h
字號(hào):
// 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數(shù)據(jù)類型頭文件
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應(yīng)用程序?qū)ο? Documents WordDocs; // 文檔對(duì)象
_Document WordDoc;
Window window;
View view;
Range range;
Bookmarks bookmarks; // 書簽對(duì)象
Bookmark bookmark;
Fields fields; // 域?qū)ο? 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_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -