basicinfo.h

来自「这是采用mfc编写的工资管理系统」· C头文件 代码 · 共 89 行

H
89
字号
#if !defined(AFX_BASICINFO_H__95BC8C80_68C3_44EC_8CC8_B2581984F600__INCLUDED_)
#define AFX_BASICINFO_H__95BC8C80_68C3_44EC_8CC8_B2581984F600__INCLUDED_

#include "ADOConn.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/********************************
文件名: BasicInfo.h 
文件类型:header file
功能描述:录入员工的基本信息
创建人:张国
版本号:1.0
********************************/

/////////////////////////////////////////////////////////////////////////////
// CBasicInfo dialog

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

// Dialog Data
	//{{AFX_DATA(CBasicInfo)
	enum { IDD = IDD_BASICINFO };
	CComboBox	m_cboPos;
	CComboBox	m_cboDep;
	CComboBox	m_cboPolitics;
	CComboBox	m_cboBargain;			//合同类型	
	CComboBox	m_cboResidence;			//户口
	CComboBox	m_cboCulture;			//文化程度
	CComboBox	m_cboSex;				//性别
	CComboBox	m_cboMerry;				//婚姻状况
	CComboBox	m_cboNation;			//民族
	CComboBox	m_cboWorkState;			//工作状况
	CString	m_graduate;
	CString	m_name;
	CString	m_personalID;
	CString	m_profession;
	CString	m_staffID;
	CString	m_telnum;
	CString	m_workTelnum;
	COleDateTime	m_dateParty;
	COleDateTime	m_dateBegin;
	COleDateTime	m_dateBorn;
	COleDateTime	m_dateEnd;
	CString	m_jiguan;
	CString	m_address;
	//}}AFX_DATA
	static CString s_nID;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CBasicInfo)
	afx_msg void OnQuit();
	afx_msg void OnBrowse();
	virtual BOOL OnInitDialog();
	afx_msg void OnSave();
	afx_msg void OnSelchangeCbodep();
	afx_msg void OnChangeStaffid();
	afx_msg void OnChangeGraduate();
	afx_msg void OnChangePersonalid();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_position;
	CString m_department;
	_RecordsetPtr m_recordset;
	ADOConn m_ado;
};

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

#endif // !defined(AFX_BASICINFO_H__95BC8C80_68C3_44EC_8CC8_B2581984F600__INCLUDED_)

⌨️ 快捷键说明

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