oledbcustomerdlg.h

来自「使用OLE DB操作数据库 要运行程序必须将数据库文件students.mdb」· C头文件 代码 · 共 67 行

H
67
字号
// OledbCustomerDlg.h : header file
//

#if !defined(AFX_OLEDBCUSTOMERDLG_H__EF91694D_93E2_44A6_ADF0_115515C3D093__INCLUDED_)
#define AFX_OLEDBCUSTOMERDLG_H__EF91694D_93E2_44A6_ADF0_115515C3D093__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// COledbCustomerDlg dialog

#include "Students.h"

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

// Dialog Data
	//{{AFX_DATA(COledbCustomerDlg)
	enum { IDD = IDD_OLEDBCUSTOMER_DIALOG };
	CButton	m_BEFORE;
	CButton	m_LAST;
	CButton	m_NEXT;
	CButton	m_FIRST;
	long	m_nAge;
	CString	m_strDepartment;
	long	m_nID;
	CString	m_strName;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	CStudents m_Students;
	// Generated message map functions
	//{{AFX_MSG(COledbCustomerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButtonFirst();
	afx_msg void OnButtonPrev();
	afx_msg void OnButtonNext();
	afx_msg void OnButtonLast();
	afx_msg void OnButtonAdd();
	afx_msg void OnButtonDelete();
	afx_msg void OnButtonModify();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_OLEDBCUSTOMERDLG_H__EF91694D_93E2_44A6_ADF0_115515C3D093__INCLUDED_)

⌨️ 快捷键说明

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