personbookdlg.h

来自「这是我的第一个小学期程序设计的程序」· C头文件 代码 · 共 72 行

H
72
字号
// PersonBookDlg.h : header file
//

#if !defined(AFX_PERSONBOOKDLG_H__EC980943_E1F8_4BF0_8903_DDCE2EAE252A__INCLUDED_)
#define AFX_PERSONBOOKDLG_H__EC980943_E1F8_4BF0_8903_DDCE2EAE252A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "Main.h"
/////////////////////////////////////////////////////////////////////////////
// CPersonBookDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CPersonBookDlg)
	enum { IDD = IDD_PERSONBOOK_DIALOG };
	CStatic	m_sNumber;
	CEdit	m_sPostcode;
	CEdit	m_sPhone;
	CEdit	m_sAddress;
	CEdit	m_sName;
	//}}AFX_DATA

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

// Implementation
	void Show();
protected:
	HICON m_hIcon;

	Book m_Book;
	int m_iPos;


	// Generated message map functions
	//{{AFX_MSG(CPersonBookDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	afx_msg void OnTobegin();
	afx_msg void OnPerv();
	afx_msg void OnNext();
	afx_msg void OnToend();
	afx_msg void OnNew();
	afx_msg void OnInsert();
	afx_msg void OnDelete();
	afx_msg void OnSave();
	afx_msg void OnExit();
	afx_msg void OnChangeName();
	afx_msg void OnChangePhone();
	afx_msg void OnChangeAddress();
	afx_msg void OnChangePostcode();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PERSONBOOKDLG_H__EC980943_E1F8_4BF0_8903_DDCE2EAE252A__INCLUDED_)

⌨️ 快捷键说明

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