📄 studentsview.h
字号:
// studentsView.h : CstudentsView 类的接口
//
#pragma once
class CstudentsView : public CView
{
protected: // 仅从序列化创建
CstudentsView();
DECLARE_DYNCREATE(CstudentsView)
// 属性
public:
CstudentsDoc* GetDocument() const;
// 操作
public:
// 重写
public:
virtual void OnDraw(CDC* pDC); // 重写以绘制该视图
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
// 实现
public:
virtual ~CstudentsView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// 生成的消息映射函数
protected:
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnOptionsAdd();
afx_msg void OnOptionsMody();
afx_msg void OnSerch1();
afx_msg void OnUpdateSerch1(CCmdUI *pCmdUI);
afx_msg void OnSerch2();
afx_msg void OnOptionsDel();
afx_msg void OnShow();
afx_msg void OnUpdateShow(CCmdUI *pCmdUI);
afx_msg void OnUpdateSerch2(CCmdUI *pCmdUI);
};
#ifndef _DEBUG // studentsView.cpp 的调试版本
inline CstudentsDoc* CstudentsView::GetDocument() const
{ return reinterpret_cast<CstudentsDoc*>(m_pDocument); }
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -