scorebdlg.h

来自「这是一个课程设计」· C头文件 代码 · 共 68 行

H
68
字号
#if !defined(AFX_SCOREBDLG_H__29639861_0C74_4203_9856_F7C6F38174A2__INCLUDED_)
#define AFX_SCOREBDLG_H__29639861_0C74_4203_9856_F7C6F38174A2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ScorebDlg.h : header file
//
#include "XPButton.h"
/////////////////////////////////////////////////////////////////////////////
// CScorebDlg dialog

class CScorebDlg : public CDialog
{
// Construction
public:
	void ResetButton();
	BOOL OnInitDialog();
	void RefreshList();
	CRecordset m_recordSet;
	CDatabase m_database;
	CScorebDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CScorebDlg)
	enum { IDD = IDD_SCORE };
	CXPButton	m_can1;
	CXPButton	m_can;
	CXPButton	m_bEdit;
	CXPButton	m_bDel;
	CXPButton	m_bAdd;
	CXPButton	m_bConfirm;
	CComboBox	m_strCoursename;
	CComboBox	m_strStudentName;
	CEdit	m_strPeace;
	CEdit	m_strExam;
	CListCtrl	m_list;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CScorebDlg)
	afx_msg void OnScoreAdd();
	afx_msg void OnScoreDel();
	afx_msg void OnClickListScore(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnScoreEdit();
	afx_msg void OnScoreOk();
	afx_msg void OnCancel1();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_SCOREBDLG_H__29639861_0C74_4203_9856_F7C6F38174A2__INCLUDED_)

⌨️ 快捷键说明

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