📄 adressbook_v0view.h
字号:
// AdressBook_v0View.h : interface of the CAdressBook_v0View class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_ADRESSBOOK_V0VIEW_H__34C352EC_CE16_4EBF_87B8_0D8AEA9BAE2E__INCLUDED_)
#define AFX_ADRESSBOOK_V0VIEW_H__34C352EC_CE16_4EBF_87B8_0D8AEA9BAE2E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CAdressBook_v0Set;
class CAdressBook_v0View : public CRecordView
{
protected: // create from serialization only
DECLARE_DYNCREATE(CAdressBook_v0View)
public:
CAdressBook_v0View();
//{{AFX_DATA(CAdressBook_v0View)
enum { IDD = IDD_ADRESSBOOK_V0_FORM };
CButton m_add;
CButton m_delete;
CButton m_modify;
CAdressBook_v0Set* m_pSet;
CString m_type;
CString m_name;
CString m_call;
CString m_mobile;
CString m_birth;
CString m_mail;
CString m_adress;
CString m_qq;
CString m_id;
//}}AFX_DATA
// Attributes
public:
CAdressBook_v0Doc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAdressBook_v0View)
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
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
CBrush m_brushBackground;
virtual ~CAdressBook_v0View();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CAdressBook_v0View)
afx_msg void OnButtonModify();
afx_msg void OnButtonDelete();
afx_msg void OnButtonAdd();
afx_msg void OnRecordFirst();
afx_msg void OnRecordLast();
afx_msg void OnRecordNext();
afx_msg void OnRecordPrev();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
//更新视图中的数据
void RefreshData(void);
};
#ifndef _DEBUG // debug version in AdressBook_v0View.cpp
inline CAdressBook_v0Doc* CAdressBook_v0View::GetDocument()
{ return (CAdressBook_v0Doc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADRESSBOOK_V0VIEW_H__34C352EC_CE16_4EBF_87B8_0D8AEA9BAE2E__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -