⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 coursechoseview.h

📁 学生选课系统,功能齐全,什么登陆,查询,选课,删除课程,什么都有,有数据库
💻 H
字号:
//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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -