⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 stumdlg.h

📁 这是一个学生管理系统 包含学生基本信息 选课信息 宿舍信息 教师信息 课程信息 班机信息 教师信息等录入 查询 修改删除等强大功能
💻 H
字号:
#if !defined(AFX_STUMDLG_H__F0B2FB7D_0834_4DEA_85C3_CA77CB5BE83D__INCLUDED_)
#define AFX_STUMDLG_H__F0B2FB7D_0834_4DEA_85C3_CA77CB5BE83D__INCLUDED_

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

#include "StudentSet.h"
#include "Modifydlg.h"

/////////////////////////////////////////////////////////////////////////////
// CStuMdlg dialog

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

// Dialog Data
	//{{AFX_DATA(CStuMdlg)
	enum { IDD = IDD_DLG_STUM };
	CComboBox	m_ComboSex;
	CComboBox	m_ComboPolity;
	CComboBox	m_ComboNation;
	CComboBox	m_ComboDorm;
	CString	m_address;
	CString	m_content;
	int		m_day;
	CString	m_help;
	int		m_month;
	CString	m_name;
	CString	m_no;
	CString	m_phone;
	int		m_score;
	CString	m_sourse;
	int		m_year;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CStuMdlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnBottom();
	afx_msg void OnBtnDelete();
	afx_msg void OnBtnEditCancal();
	afx_msg void OnBtnFirst();
	afx_msg void OnBtnNext();
	afx_msg void OnBtnPrev();
	afx_msg void OnBtnAddSave();
	virtual void OnCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	CDatabase * m_pDB;
	int m_kind;
	CRecordset *m_pStudent;

	void EnableControl(BOOL bEnable=FALSE);
	void InitComboBox(CString tCategory,CComboBox *tBox);
	void UpdateField(BOOL bSave=TRUE);
};

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

#endif // !defined(AFX_STUMDLG_H__F0B2FB7D_0834_4DEA_85C3_CA77CB5BE83D__INCLUDED_)

⌨️ 快捷键说明

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