coursechoseview.h

来自「学生选课系统,功能齐全,什么登陆,查询,选课,删除课程,什么都有,有数据库」· C头文件 代码 · 共 77 行

H
77
字号
//Copyright (c) 2007, 林江彬
//All rights reserved
//该源文件是 《学生选课系统》的一部分。
//作者:林江彬 
//项目;《学生选课系统》
//允许copy、使用,但是要保留版权,否则追求法律责任。


// CourseChoseView.h : CCourseChoseView 类的接口
//


#pragma once
#include <string>

using namespace std;

class CCourseChoseView : public CView
{
protected: // 仅从序列化创建
	CCourseChoseView();
	DECLARE_DYNCREATE(CCourseChoseView)

// 属性
public:
	CCourseChoseDoc* 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 ~CCourseChoseView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// 生成的消息映射函数
protected:
	DECLARE_MESSAGE_MAP()

public:
	void Load();
private:
	BOOL	m_bLoad;
	int	m_nLoadState;
	long	m_dwID;
public:
	afx_msg void OnCourseOperator();
	afx_msg void OnCourseShow();
	afx_msg void OnCourseChose();
	afx_msg void OnShowMe();

public:
	void TeacherShow(CString& str);
	void StudentShow(CString& str);
	afx_msg void OnAllCourse();
};

#ifndef _DEBUG  // CourseChoseView.cpp 的调试版本
inline CCourseChoseDoc* CCourseChoseView::GetDocument() const
   { return reinterpret_cast<CCourseChoseDoc*>(m_pDocument); }
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?