funcpayprotectdlg.h

来自「VC++和ACCESS使用ADO连接」· C头文件 代码 · 共 99 行

H
99
字号
#if !defined(AFX_FUNCPAYPROTECTDLG_H__5C53AF4F_E02B_43A0_B1BD_6EAC6E04A428__INCLUDED_)
#define AFX_FUNCPAYPROTECTDLG_H__5C53AF4F_E02B_43A0_B1BD_6EAC6E04A428__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// FuncPayProtectDlg dialog

class FuncPayProtectDlg : public CDialog, public CADOView
{
// Construction
public:
	void MakeSelectInfo(void);
	BOOL SetRow(int row, CString *strArray, int nCount);
	BOOL DeleteAllRows();
	FuncPayProtectDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(FuncPayProtectDlg)
	enum { IDD = IDD_FUNC_INPOS_INFOLIST };
	CButton	m_CBtn_Check;
	CComboBox	m_ComboDepart;
	CComboBox	m_ComboCompany;
	CEditableListCtrl	m_ListCtrl_FuncPPL;
	//}}AFX_DATA


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

// Implementation
protected:
	CString m_strNameType;
	CString m_strNameCom;
	CString m_strNameDepart;
	CString m_strInExcelPath;
	CString m_strSQL;
	void QueryInPosInfo(void);
	BOOL PrePareQueryType(BOOL bMoreCondition);
	void IDStateControl(BOOL bState);

//	CString B_JobPosition;
//	CString B_Sex;
//	CString B_Age;
//	CString B_HighestD;
//	CString B_GradSchool;
//	CString B_FirstJobT;
//	CString B_TechPost;
//	CString B_TechSpecial;
//	CString B_MobilePhone;
//	CString B_Remark;

//	CString I_Company;
//	CString I_Depart;
//	CString I_Duty;
//	CString I_JoinTime;

	void InitInExcelPath(void);
	void InitCompComboBox(CComboBox *pComp);
	BOOL InitDeptComboBox(CComboBox *pDept);

	// Generated message map functions
	//{{AFX_MSG(FuncPayProtectDlg)
	virtual BOOL OnInitDialog();
	afx_msg LRESULT OnListEditDBClick(WPARAM wParam, LPARAM lParam);
	afx_msg void OnButtonSiLook();
	afx_msg void OnSelchangeComboSiCompany();
	afx_msg void OnClickFuncSiInposlist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCheckSiCondition();
	afx_msg void OnBtnSiPath();
	afx_msg void OnBtnSiExcel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	LPNMLISTVIEW m_lpNMListView;
	int m_CurSel;
	HACCEL m_hAccel;
};

extern BOOL g_bQueryToShow;

extern int  g_nEmployee_ID;
extern CString g_strEmployee_Name;
extern CString g_strEmployee_IDCard;

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

#endif // !defined(AFX_FUNCPAYPROTECTDLG_H__5C53AF4F_E02B_43A0_B1BD_6EAC6E04A428__INCLUDED_)

⌨️ 快捷键说明

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