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

📄 stugradeview.h

📁 成绩管理系统
💻 H
字号:
// STUGRADEView.h : interface of the CSTUGRADEView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_STUGRADEVIEW_H__F50EBBAF_3D0B_4930_BF1D_DA30CFE08182__INCLUDED_)
#define AFX_STUGRADEVIEW_H__F50EBBAF_3D0B_4930_BF1D_DA30CFE08182__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CSTUGRADEView : public CFormView
{
protected: // create from serialization only
	CSTUGRADEView();
	DECLARE_DYNCREATE(CSTUGRADEView)

public:
	//{{AFX_DATA(CSTUGRADEView)
	enum { IDD = IDD_STUGRADE_FORM };
	//}}AFX_DATA

// Attributes
public:
	void ToExcel(CString opr);
    CMenu * p_Menu;
	CSTUGRADEDoc* GetDocument();
	CString curSQL;
    int m_nSortedCol; //定义当前点中的列
	BOOL m_fAsc;
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSTUGRADEView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	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:
	CString GetMenuStateCZ();
	int RefreshGradeList(CString szSQL);
	virtual ~CSTUGRADEView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CSTUGRADEView)
	afx_msg void OnADDnewGrade();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnStu();
	afx_msg void OnQuery();
	afx_msg void OnMakeupGrade();
	afx_msg void OnQueryGrade();
	afx_msg void OnreelectGRADE();
	afx_msg void OntogetherGRADE();
	afx_msg void OnDeleteGrade();
	afx_msg void OnmodifyGRADE();
	afx_msg void OnListNext();
	afx_msg void OnListPrv();
	afx_msg void OnBUTTONrefresh();
	afx_msg void OnShowPs();
	afx_msg void OnShowKs();
	afx_msg void OnShowZp();
	afx_msg void OnShowBk();
	afx_msg void OnShowAll();
	afx_msg void OnShowCx();
	afx_msg void OnCentGRADE();
	afx_msg void OnGoodGrade();
	afx_msg void OnFilePrint();
	afx_msg void OnDblclkGradeLIST(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnColumnclickGradeLIST(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnOUTExcel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in STUGRADEView.cpp
inline CSTUGRADEDoc* CSTUGRADEView::GetDocument()
   { return (CSTUGRADEDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_STUGRADEVIEW_H__F50EBBAF_3D0B_4930_BF1D_DA30CFE08182__INCLUDED_)

⌨️ 快捷键说明

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