📄 studentdoc.h
字号:
// StudentDoc.h : interface of the CStudentDoc class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_STUDENTDOC_H__6999624C_BED1_4A20_B276_94C6E9273ACF__INCLUDED_)
#define AFX_STUDENTDOC_H__6999624C_BED1_4A20_B276_94C6E9273ACF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "studentlist.h"
class CStudentDoc : public CDocument
{
protected: // create from serialization only
CStudentDoc();
DECLARE_DYNCREATE(CStudentDoc)
// Attributes
public:
StudentList m_studentlist; // 声明一个Student派生类对象的线性表作为文档类成员变量
CString m_Class, m_Course; // 声明两个字符串分别存放班级和课程名用于生成SQL语句
int m_Period; // 声明一个整型变量用于存放所选择的考核阶段索引
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CStudentDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CStudentDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CStudentDoc)
afx_msg void OnProcessQuery();
afx_msg void OnProcessSort();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STUDENTDOC_H__6999624C_BED1_4A20_B276_94C6E9273ACF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -