adddialog.h

来自「这是一款用MFC ADO编写的数据库软件」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_ADDDIALOG_H__5F275068_FCD9_4750_AD86_48FC11DB71D7__INCLUDED_)
#define AFX_ADDDIALOG_H__5F275068_FCD9_4750_AD86_48FC11DB71D7__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CAddDialog dialog

class CAddDialog : public CDialog
{
// Construction
public:
	_ConnectionPtr p_connection;
	void SetConnection(_ConnectionPtr connection);
	CAddDialog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CAddDialog)
	enum { IDD = IDD_DIALOGADD };
	CString	m_name;
	CString	m_sex;
	int		m_physics;
	long	m_id;
	int		m_english;
	int		m_chinese;
	int		m_math;
	CString	m_subject;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CAddDialog)
	virtual void OnOK();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ADDDIALOG_H__5F275068_FCD9_4750_AD86_48FC11DB71D7__INCLUDED_)

⌨️ 快捷键说明

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