familyeditdlg.h

来自「< VISUAL C++ 数据库编程技术与实例>> 配套源码 」· C头文件 代码 · 共 56 行

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

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

/////////////////////////////////////////////////////////////////////////////
// CFamilyEditDlg dialog

class CFamilyEditDlg : public CDialog
{
public:
	int iEmpId;  //用于保存当前编辑的记录所属员工的编号
	CString cId;  //用于保存当前记录的编号,如果为"",则表示插入记录
	CString cSex; //用于保存当前记录的性别信息
// Construction
public:
	CFamilyEditDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CFamilyEditDlg)
	enum { IDD = IDD_FAMILYEDIT_DIALOG };
	CComboBox	m_Sex;
	int		m_Age;
	CString	m_Name;
	CString	m_Relation;
	CString	m_Org;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CFamilyEditDlg)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_FAMILYEDITDLG_H__135A5A4F_A951_4277_9DCB_987BA1E93B42__INCLUDED_)

⌨️ 快捷键说明

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