scorequery.h

来自「课程设计的简单Access学生数据库系统」· C头文件 代码 · 共 83 行

H
83
字号
//{{AFX_INCLUDES()
#include "dtpicker.h"
//}}AFX_INCLUDES
#if !defined(AFX_SCOREQUERY_H__A5C0963C_3A5D_4BF9_8BAE_3088EC3617C9__INCLUDED_)
#define AFX_SCOREQUERY_H__A5C0963C_3A5D_4BF9_8BAE_3088EC3617C9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScoreQuery.h : header file
//
#include "student.h"
class UnitClassTree ;
class ScoreList;
//class 
/////////////////////////////////////////////////////////////////////////////
// CScoreQuery dialog

//##ModelId=40A481F40222
class CScoreQuery : public CDialog
{
// Construction
public:
	//##ModelId=40A481F40233
	void LoadScore();
	//##ModelId=40A481F40234
	void LoadStudent(long class_id);
	//##ModelId=40A481F40243
	CScoreQuery(CWnd* pParent = NULL);   // standard constructor
	//##ModelId=40A481F40252
	UnitClassTree * pTree;
	//##ModelId=40A481F40257
	ScoreList * pList;
	//##ModelId=40A481F40262
	vector<Student> Students;
// Dialog Data
	//{{AFX_DATA(CScoreQuery)
	enum { IDD = IDD_SCORE_PRINT_DIALOG };
	//##ModelId=40A481F40272
	CTreeCtrl	m_Tree;
	//##ModelId=40A481F40281
	CComboBox	m_Student;
	//##ModelId=40A481F40286
	CListCtrl	m_List;
	//##ModelId=40A481F40294
	CDTPicker	m_Begin;
	//##ModelId=40A481F402A0
	CDTPicker	m_End;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CScoreQuery)
	protected:
	//##ModelId=40A481F402AF
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CScoreQuery)
	//##ModelId=40A481F402BF
	virtual void OnOK();
	//##ModelId=40A481F402C1
	afx_msg void OnButtonPrint();
	//##ModelId=40A481F402CF
	afx_msg void OnDestroy();
	//##ModelId=40A481F402D1
	virtual BOOL OnInitDialog();
	//##ModelId=40A481F402DF
	afx_msg void OnSelchangedTree(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SCOREQUERY_H__A5C0963C_3A5D_4BF9_8BAE_3088EC3617C9__INCLUDED_)

⌨️ 快捷键说明

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