adddialog.h

来自「本压缩软件为《Visual C++6.0基础教程》(黑魔方系列)一书的源代码」· C头文件 代码 · 共 53 行

H
53
字号
#if !defined(AFX_ADDDIALOG_H__E34A83A3_B5A3_4252_B3A4_A84923B89E0A__INCLUDED_)
#define AFX_ADDDIALOG_H__E34A83A3_B5A3_4252_B3A4_A84923B89E0A__INCLUDED_

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

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

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

// Dialog Data
	//{{AFX_DATA(CAddDialog)
	enum { IDD = IDD_ADD };
	CButton	m_OK;
	CButton	m_Cancel;
	long	m_English;
	CString	m_strName;
	long	m_Xuehao;
	CString	m_Maths;
	//}}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();
	virtual BOOL OnInitDialog();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}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__E34A83A3_B5A3_4252_B3A4_A84923B89E0A__INCLUDED_)

⌨️ 快捷键说明

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