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

📄 duty.h

📁 一个有关人事系统的所有代码和有关文件包括里面小量数据库。
💻 H
字号:
#if !defined(AFX_DUTY_H__E9D4D5D7_E5CF_4DA2_B48B_859D954C453E__INCLUDED_)
#define AFX_DUTY_H__E9D4D5D7_E5CF_4DA2_B48B_859D954C453E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Duty.h : header file
//
#include "BaseEdit.h"
#include "RxRecordset.h"	// Added by ClassView
/////////////////////////////////////////////////////////////////////////////
// CDuty dialog

class CDuty : public CDialog
{
// Construction
public:

	CDuty(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDuty)
	enum { IDD = IDD_DIA_DUTYSET };
	RxGrid	m_Duty_Grid;
	CBaseEdit	m_EdtdutyID;
	CBaseEdit	m_Edtdutymoney;
	CBaseEdit	m_Edtdutyname;
	CButton	m_Btnundo;
	CButton	m_Btnsave;
	CButton	m_Btnexit;
	CButton	m_Btndel;
	CButton	m_Btnchange;
	CButton	m_Btnadd;
	//}}AFX_DATA


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

// Implementation
protected:
	RxRecordset rst;

	// Generated message map functions
	//{{AFX_MSG(CDuty)
	virtual BOOL OnInitDialog();
	afx_msg void OnCancelMode();
	afx_msg void OnBtnadd();
	afx_msg void OnBtnchange();
	afx_msg void OnBtndel();
	afx_msg void OnBtnsave();
	afx_msg void OnBtnundo();
	afx_msg void OnBtnexit();
	afx_msg void OnDblclkListDuty(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnPaint();
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_sID;
	void Clear();
	void ButtonEnable(bool bEnabled);
	int AddOrChange;
};

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

#endif // !defined(AFX_DUTY_H__E9D4D5D7_E5CF_4DA2_B48B_859D954C453E__INCLUDED_)

⌨️ 快捷键说明

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