scoreinputdlg.h

来自「简单的学生成绩管理系统」· C头文件 代码 · 共 61 行

H
61
字号
#if !defined(AFX_SCOREINPUTDLG_H__912A41A0_6675_479A_AD15_CF8F0859F0D9__INCLUDED_)
#define AFX_SCOREINPUTDLG_H__912A41A0_6675_479A_AD15_CF8F0859F0D9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScoreInputDlg.h : header file
//
#include "scoreset.h"
/////////////////////////////////////////////////////////////////////////////
// CScoreInputDlg dialog

class CScoreInputDlg : public CDialog
{
// Construction
public:
	CScoreInputDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CScoreInputDlg)
	enum { IDD = IDD_DIALOG_SCORE_INPUT };
	CComboBox	m_ctrType;
	CComboBox	m_ctrTime;
	CComboBox	m_ctrSubject;
	CComboBox	m_ctrClass;
	CListCtrl	m_ctrList;
	CString	m_strClass;
	CString	m_strSubject;
	CString	m_strTime;
	CString	m_strType;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CScoreInputDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CScoreInputDlg)
	afx_msg void OnButtonInput();
	virtual BOOL OnInitDialog();
	afx_msg void OnDblclkList2(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CScoreSet  m_recordset;
	void RefreshData(CString str);
	void CreateScoreTable();
};

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

#endif // !defined(AFX_SCOREINPUTDLG_H__912A41A0_6675_479A_AD15_CF8F0859F0D9__INCLUDED_)

⌨️ 快捷键说明

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