?? crdbsdlg.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 + -