📄 ado1view.h
字号:
// ado1View.h : interface of the CAdo1View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_ADO1VIEW_H__40BBCFE3_5D1B_4BE7_83BC_3C212D16B18F__INCLUDED_)
#define AFX_ADO1VIEW_H__40BBCFE3_5D1B_4BE7_83BC_3C212D16B18F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CAdo1View : public CListView
{
public: // create from serialization only
CAdo1View();
DECLARE_DYNCREATE(CAdo1View)
// Attributes
public:
CAdo1Doc* GetDocument();
// Operations
public:
_ConnectionPtr m_pconnection;
_RecordsetPtr m_precordset;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAdo1View)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
BOOL ConnDB();
void intinstance();
virtual ~CAdo1View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CAdo1View)
afx_msg void OnDestroy();
afx_msg void OnOpendate();
afx_msg void Onmodify();
afx_msg void OnDeletedate();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ado1View.cpp
inline CAdo1Doc* CAdo1View::GetDocument()
{ return (CAdo1Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADO1VIEW_H__40BBCFE3_5D1B_4BE7_83BC_3C212D16B18F__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -