⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hrdbsdlg.h

📁 设备管理系统
💻 H
字号:
// HRDBSDlg.h : header file
//

#if !defined(AFX_HRDBSDLG_H__F525413A_877A_4B90_B7C1_2989BCA1ACF0__INCLUDED_)
#define AFX_HRDBSDLG_H__F525413A_877A_4B90_B7C1_2989BCA1ACF0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CHRDBSDlg dialog
#include "DetailQueryDlg.h"
#include "StatQueryDlg.h"

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

// Dialog Data
	//{{AFX_DATA(CHRDBSDlg)
	enum { IDD = IDD_HRDBS_DIALOG };
	CListCtrl	m_listVocation;
	CListCtrl	m_listProfession;
	CListCtrl	m_listHR;
	CListCtrl	m_listArea;
	CListCtrl	m_listApproach;
	CComboBox	m_comboVocation;
	CComboBox	m_comboProfession;
	CComboBox	m_comboArea;
	CComboBox	m_comboApproach;
	CString	m_strSelectedApproach;
	CString	m_strSelectedArea;
	CString	m_strSelectedProfession;
	CString	m_strSelectedVocation;
	CString	m_strCompany;
	CString	m_strConfigApproach;
	CString	m_strConfigArea;
	CString	m_strConfigProfession;
	CString	m_strConfigVocation;
	CString	m_strEmail;
	CString	m_strInterest;
	CString	m_strMemo;
	CString	m_strMobile;
	CString	m_strName;
	CString	m_strPhone;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CHRDBSDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSysExit();
	afx_msg void OnBtnApproachAdd();
	afx_msg void OnBtnApproachDel();
	afx_msg void OnBtnApproachMod();
	afx_msg void OnBtnAreaAdd();
	afx_msg void OnBtnAreaDel();
	afx_msg void OnBtnAreaMod();
	afx_msg void OnBtnDetailQuery();
	afx_msg void OnBtnHrAdd();
	afx_msg void OnBtnHrDel();
	afx_msg void OnBtnHrMod();
	afx_msg void OnBtnHrQuery();
	afx_msg void OnBtnProfessionAdd();
	afx_msg void OnBtnProfessionDel();
	afx_msg void OnBtnProfessionMod();
	afx_msg void OnBtnStatQuery();
	afx_msg void OnBtnVocationAdd();
	afx_msg void OnBtnVocationDel();
	afx_msg void OnBtnVocationMod();
	afx_msg void OnClickListArea(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListApproach(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListProfession(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListVocation(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListHr(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void InitCtrlData();
	void InsertConfigItem(CListCtrl* pList,int id,CString name);
	void InsertHRInfoItem(int id,CString name,CString area,CString prof,
		CString voc,CString com,CString appr,CString email,CString phone,
		CString mobile,CString interest,CString memo);
	void RefreshVocComboData();
	void RefreshProfComboData();
	void RefreshApprComboData();
	void RefreshAreaComboData();
	void ConnectDB();
	void InitControl();
};

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

#endif // !defined(AFX_HRDBSDLG_H__F525413A_877A_4B90_B7C1_2989BCA1ACF0__INCLUDED_)

⌨️ 快捷键说明

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