coursedlg.h

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

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

#include "CourseSet.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CourseDlg.h : header file
//
#include "XPButton.h"
/////////////////////////////////////////////////////////////////////////////
// CCourseDlg dialog

class CCourseDlg : public CDialog
{
// Construction
public:
	BOOL OnInitDialog();
	void ResetButton();
	void RefreshList();
	CCourseSet m_courseSet;
	CCourseDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CCourseDlg)
	enum { IDD = IDD_COURSE };
	CXPButton	m_Can1;
	CXPButton	m_Can;
	CEdit	m_strCName;
	CXPButton	m_bEdit;
	CXPButton	m_bDel;
	CXPButton	m_bConfirm;
	CXPButton	m_bAdd;
	CComboBox	m_strCCredit;
	CComboBox	m_strCHour;
	CEdit	m_strCNo;
	CListCtrl	m_list;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCourseDlg)
	afx_msg void OnClickListCourse(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCourseAdd();
	afx_msg void OnCourseEdit();
	afx_msg void OnCourseDel();
	afx_msg void OnCourseOk();
	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_COURSEDLG_H__008A527B_8F0F_49C9_B7D1_1382D4EEFBDA__INCLUDED_)

⌨️ 快捷键说明

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