📄 c02view.h
字号:
// C02View.h : interface of the CC02View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_C02VIEW_H__04AD99E3_24EE_11D5_9CC9_00A0C99CD581__INCLUDED_)
#define AFX_C02VIEW_H__04AD99E3_24EE_11D5_9CC9_00A0C99CD581__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CC02Set;
class CC02View : public CRecordView
{
protected: // create from serialization only
CC02View();
DECLARE_DYNCREATE(CC02View)
public:
//{{AFX_DATA(CC02View)
enum { IDD = IDD_C02_FORM };
CC02Set* m_pSet;
CString m_address;
CString m_mail;
CString m_name;
CString m_type;
//}}AFX_DATA
// Attributes
public:
CC02Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CC02View)
public:
virtual CRecordset* OnGetRecordset();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CC02View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CC02View)
afx_msg void OnRecordFirst();
afx_msg void OnRecordLast();
afx_msg void OnRecordNext();
afx_msg void OnRecordPrev();
afx_msg void OnButtonAdd();
afx_msg void OnButtonDelete();
afx_msg void OnButtonModify();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void RefreshData(void);
};
#ifndef _DEBUG // debug version in C02View.cpp
inline CC02Doc* CC02View::GetDocument()
{ return (CC02Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_C02VIEW_H__04AD99E3_24EE_11D5_9CC9_00A0C99CD581__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -