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

📄 dialogstu.h

📁 这是学生信息管理系统的源码
💻 H
字号:
#if !defined(AFX_DIALOGSTU_H__1CAC617A_C2F9_44F5_B11E_AD5E1B3C636B__INCLUDED_)
#define AFX_DIALOGSTU_H__1CAC617A_C2F9_44F5_B11E_AD5E1B3C636B__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDialogSTU dialog

class CDialogSTU : public CDialog
{
// Construction
public:
	CDialogSTU(CWnd* pParent = NULL);   // standard constructor
	//声明ADO记录集
	_RecordsetPtr	m_pRecordset;
	_RecordsetPtr	m_pRecordsetCHO;

	//添加功能函数
	void Query();
	void Add();
	void Delete();
	void Modify();
	void OpenSTUDENTS();
	void OpenTEACHERS();

// Dialog Data
	//{{AFX_DATA(CDialogSTU)
	enum { IDD = IDD_DIALOG_STU };
	CButton	m_btnOK;
	CButton	m_btnQuery;
	CButton	m_btnPre;
	CButton	m_btnNext;
	CButton	m_btnModify;
	CButton	m_btnLast;
	CButton	m_btnFirst;
	CButton	m_btnDelete;
	CEdit	m_ctlStuID;
	CButton	m_btnAdd;
	CString	m_StuSex;
	COleDateTime	m_StuYear;
	COleDateTime	m_ComYear;
	CString	m_StuName;
	CString	m_ComFrom;
	int		m_StuID;
	int		m_TeaID;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDialogSTU)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonQuery();
	afx_msg void OnButtonOK();
	afx_msg void OnButtonGoBack();
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonDelete();
	afx_msg void OnButtonModify();
	afx_msg void OnButtonFirst();
	afx_msg void OnButtonPre();
	afx_msg void OnButtonNext();
	afx_msg void OnButtonLast();
	afx_msg void OnButtonCancel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//引入全局变量theApp
extern CYDMSApp theApp;

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

#endif // !defined(AFX_DIALOGSTU_H__1CAC617A_C2F9_44F5_B11E_AD5E1B3C636B__INCLUDED_)

⌨️ 快捷键说明

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