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

📄 crdbsdlg.h

📁 数据库客户信息管理系统,C++,SQL下完成.进入系统前需要身份验证、用户名、密码
💻 H
字号:
// CRDBSDlg.h : header file
//

#if !defined(AFX_CRDBSDLG_H__6D0B9C91_7918_4354_A074_9D4352822076__INCLUDED_)
#define AFX_CRDBSDLG_H__6D0B9C91_7918_4354_A074_9D4352822076__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CCRDBSDlg dialog

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

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

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCRDBSDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnClickListArea(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListHr(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListProfession(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListVocation(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListAppraoch(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBtnAreaAdd();
	afx_msg void OnBtnAreaMod();
	afx_msg void OnBtnAreaDel();
	afx_msg void OnBtnApproachAdd();
	afx_msg void OnBtnApproachMod();
	afx_msg void OnBtnApproachDel();
	afx_msg void OnBtnProfessionAdd();
	afx_msg void OnBtnProfessionMod();
	afx_msg void OnBtnProfessionDel();
	afx_msg void OnBtnVocationAdd();
	afx_msg void OnBtnVocationMod();
	afx_msg void OnBtnVocationDel();
	afx_msg void OnBtnHrAdd();
	afx_msg void OnBtnHrMod();
	afx_msg void OnBtnHrDel();
	afx_msg void OnBtnHrQuery();
	afx_msg void OnBtnDetailQuery();
	afx_msg void OnBtnStatQuery();
	virtual void OnCancel();
	virtual void OnOK();
	afx_msg void OnSysExit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:

	//初始化列表控件.
	void InitControl();
	//从数据库获取设备信息并更新到控件中
	void InitCtrlData();
	//刷性地区信息组合框的数据
	void RefreshAreaComboData();
	//刷性结识途径信息组合框的数据
	void RefreshApprComboData();
	//刷性职位信息组合框的数据
	void RefreshProfComboData();
	//刷性行业信息组合框的数据
	void RefreshVocComboData();
	//向四个系统配置列表控件中添加数据,因为地区信息列表控件、结识途径信息列表控件、
	//职位信息列表控件、行业信息列表控件插入数据相似,可以共用一个函数.只需要传入一个CListCtrl
	//类型的列表控件指针、id、名称值
	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);
};

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

#endif // !defined(AFX_CRDBSDLG_H__6D0B9C91_7918_4354_A074_9D4352822076__INCLUDED_)

⌨️ 快捷键说明

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