📄 examview.h
字号:
// ExamView.h : interface of the CExamView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_EXAMVIEW_H__14FB15E8_ECFA_4151_9397_4562713C06B7__INCLUDED_)
#define AFX_EXAMVIEW_H__14FB15E8_ECFA_4151_9397_4562713C06B7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "SubForm_1.h"
#include "SubForm_2.h"
#include "SubForm_3.h"
#include "SubForm_4.h"
class CExamView : public CFormView
{
public: // create from serialization only
CExamView();
DECLARE_DYNCREATE(CExamView)
public:
//{{AFX_DATA(CExamView)
enum{ IDD = IDD_EXAM_FORM };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
CExamDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CExamView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
// 滑动窗口
CSubForm_1 m_Form1;
CSubForm_2 m_Form2;
CSubForm_3 m_Form3;
CSubForm_4 m_Form4;
UINT m_nCurrPage;
HWND m_arhwndPage[4];
// ADO
_ConnectionPtr m_pConnection;
CString GetExePath();
virtual ~CExamView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CExamView)
afx_msg void OnAddCourse();
afx_msg void OnDeleteCourse();
afx_msg void OnAddTeacher();
afx_msg void OnDeleteTeacher();
afx_msg void OnDeleteStudent();
afx_msg void OnAddClass();
afx_msg void OnDeleteClass();
afx_msg void OnInputMark();
afx_msg void OnSortbymark();
afx_msg void OnQuery();
afx_msg void OnCollect();
afx_msg void OnAddStudent();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in ExamView.cpp
inline CExamDoc* CExamView::GetDocument()
{ return (CExamDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_EXAMVIEW_H__14FB15E8_ECFA_4151_9397_4562713C06B7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -