classroommdlg.h

来自「这是一个学生管理系统 包含学生基本信息 选课信息 宿舍信息 教师信息 课程信息 」· C头文件 代码 · 共 62 行

H
62
字号
#if !defined(AFX_CLASSROOMMDLG_H__4B160CF3_7F5A_428D_BF20_39527C8536D0__INCLUDED_)
#define AFX_CLASSROOMMDLG_H__4B160CF3_7F5A_428D_BF20_39527C8536D0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ClassroomMdlg.h : header file
//
#include "ClassroomSet.h"
#include "Modifydlg.h"

/////////////////////////////////////////////////////////////////////////////
// CClassroomMdlg dialog

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

// Dialog Data
	//{{AFX_DATA(CClassroomMdlg)
	enum { IDD = IDD_DLG_CLASSROOMM };
	CString	m_kind;
	int		m_capacity;
	CString	m_classroom;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CClassroomMdlg)
	afx_msg void OnBtnNext();
	afx_msg void OnBtnPrev();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnBtnReturn();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	int m_Pkind;
	CDatabase * m_pDB;
	CRecordset *m_pClassroom;
	
	void UpdateField(BOOL bSave=TRUE);
};

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

#endif // !defined(AFX_CLASSROOMMDLG_H__4B160CF3_7F5A_428D_BF20_39527C8536D0__INCLUDED_)

⌨️ 快捷键说明

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