📄 employ.h
字号:
#if !defined(AFX_EMPLOY_H__00C9E86F_110E_4070_961D_67D8C10D15F6__INCLUDED_)
#define AFX_EMPLOY_H__00C9E86F_110E_4070_961D_67D8C10D15F6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Employ.h : header file
//
#include "BaseEdit.h"
#include "RxRecordset.h" // Added by ClassView
#include "BaseComboBox.h"
/////////////////////////////////////////////////////////////////////////////
// CEmploy dialog
class CEmploy : public CDialog
{
// Construction
public:
CEmploy(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CEmploy)
enum { IDD = IDD_DIA_Employ };
CBaseComboBox m_Comdep;
CBaseEdit m_EdtEmmoney;
CBaseEdit m_EdtEmname;
CBaseEdit m_EdtEmID;
RxGrid m_Employ_Grid;
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(CEmploy)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
RxRecordset rst;
// Generated message map functions
//{{AFX_MSG(CEmploy)
virtual BOOL OnInitDialog();
afx_msg void OnDblclkEmployGrid(NMHDR* pNMHDR, LRESULT* pResult);
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 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_EMPLOY_H__00C9E86F_110E_4070_961D_67D8C10D15F6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -