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

📄 studlg.h

📁 可以实现基本的管理功能
💻 H
字号:
// STUDlg.h : header file
//

#if !defined(AFX_STUDLG_H__61459D7E_8A3F_40BF_9316_4998E87E3458__INCLUDED_)
#define AFX_STUDLG_H__61459D7E_8A3F_40BF_9316_4998E87E3458__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CSTUDlg dialog
#include "baseInfo.h"

class CSTUDlg : public CDialog
{
// Construction
public:
	bool InitADO();
	CSTUDlg(CWnd* pParent = NULL);	// standard constructor
    baseInfo m_baseInfo;
	_RecordsetPtr pRs;
	_ConnectionPtr pCon;
	_COM_SMARTPTR_TYPEDEF(IADORecordBinding, __uuidof(IADORecordBinding));

	inline void TESTHR(HRESULT _hr) { if FAILED(_hr) _com_issue_error(_hr); }
// Dialog Data
	//{{AFX_DATA(CSTUDlg)
	enum { IDD = IDD_STU_DIALOG };
	CButton	m_btnConfirm;
	CButton	m_btnUpdate;
	CButton	m_btnNext;
	CButton	m_btnPre;
	CString	m_editID;
	CString	m_editDepart;
	CString	m_editName;
	CString	m_editBirth;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CSTUDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonNext();
	afx_msg void OnButtonPre();
	afx_msg void OnButtonUpdate();
	afx_msg void OnChangeEditId();
	afx_msg void OnChangeEditName();
	afx_msg void OnChangeEditDepart();
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonConfirm();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


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

#endif // !defined(AFX_STUDLG_H__61459D7E_8A3F_40BF_9316_4998E87E3458__INCLUDED_)

⌨️ 快捷键说明

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