📄 学生成绩管理系统view.h
字号:
// 学生成绩管理系统View.h : interface of the CMyView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_VIEW_H__1A59546E_6BA7_4E30_ADFF_B645ACAA08AF__INCLUDED_)
#define AFX_VIEW_H__1A59546E_6BA7_4E30_ADFF_B645ACAA08AF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "学生成绩管理系统Doc.h"
#include "StudentSet.h"
#include "ClassSet.h"
#include "CourseSet.h"
#include "GradeSet.h"
#include "GradeAddDlg.h"
#include "GradeEditDlg.h"
class CMyView : public CFormView
{
public: // create from serialization only
CMyView();
DECLARE_DYNCREATE(CMyView)
public:
//{{AFX_DATA(CMyView)
enum { IDD = IDD_MY_FORM };
CComboBox m_combozhuanyie;
CComboBox m_comboclass;
CComboBox m_combocourse;
CComboBox m_comboyear;
CListCtrl m_listmodify;
//}}AFX_DATA
// Attributes
public:
CMyDoc* GetDocument();
CStudentSet m_studentset;
CClassSet m_classset;
CCourseSet m_courseset;
CGradeSet m_gradeset;
CGradeAddDlg gradeadddlg;
CGradeEditDlg gradeeditdlg;
// Operations
public:
CBitmap bm_dayin1;
CBitmap bm_dayin2;
CBitmap bm_preview1;
CBitmap bm_preview2;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
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);
virtual void OnDraw(CDC* pDC);
//}}AFX_VIRTUAL
// Implementation
public:
void OutputReport(CDC* pDC,CPrintInfo* pInfo=NULL);
virtual ~CMyView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CMyView)
afx_msg void OnSelendokComboyear();
afx_msg void OnSelendokCombozhuanyie();
afx_msg void OnSelendokComboclass();
afx_msg void OnSelendokCombocourse();
afx_msg void OnButtonadd();
afx_msg void OnButtonrefresh();
afx_msg void OnButtondelete();
afx_msg void OnButtonmodify();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in 学生成绩管理系统View.cpp
inline CMyDoc* CMyView::GetDocument()
{ return (CMyDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIEW_H__1A59546E_6BA7_4E30_ADFF_B645ACAA08AF__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -