coursedlg.h

来自「可以完成学生信息的管理」· C头文件 代码 · 共 66 行

H
66
字号
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_COURSEDLG_H__FDF1CCEA_B8AC_416B_9F0A_538E3CCC4B43__INCLUDED_)
#define AFX_COURSEDLG_H__FDF1CCEA_B8AC_416B_9F0A_538E3CCC4B43__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CourseDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCourseDlg dialog

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

	_RecordsetPtr m_pRecordset; 
	int type;//1=add,2=del,3=modify
// Dialog Data
	//{{AFX_DATA(CCourseDlg)
	enum { IDD = IDD_COURSE_DLG };
	CDataGrid	m_dgCourse;
	CString	m_strCourseHour;
	CString	m_strCourseId;
	CString	m_strCourseName;
	CString	m_strCoursePeriod;
	CString	m_strCoursePlace;
	CString	m_strCourseTeacher;
	//}}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)
	virtual BOOL OnInitDialog();
	afx_msg void OnAddCourseBtn();
	afx_msg void OnCourseExecute();
	afx_msg void OnDelCourseBtn();
	afx_msg void OnModifyCourseBtn();
	afx_msg void OnSelChangeDatagridCourse(short FAR* Cancel);
	afx_msg void OnChangeEditCourseId();
	afx_msg void OnLookforCourseBtn();
	DECLARE_EVENTSINK_MAP()
	//}}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__FDF1CCEA_B8AC_416B_9F0A_538E3CCC4B43__INCLUDED_)

⌨️ 快捷键说明

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