studentsview.h

来自「这是一个用链表实现的简单的学生管理程序,有链表的插入删除等各种操作」· C头文件 代码 · 共 61 行

H
61
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?