📄 cattendinfo.h
字号:
#if !defined(AFX_CATTENDINFO_H__3A497A0A_6395_4DF6_AE47_7E3379F07831__INCLUDED_)
#define AFX_CATTENDINFO_H__3A497A0A_6395_4DF6_AE47_7E3379F07831__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CAttendInfo.h : header file
//
#include "BaseEdit.h"
#include "RxRecordset.h"
#include "BaseButton.h"
#include "CustomGroup.h"
#include "BaseComboBox.h"
/////////////////////////////////////////////////////////////////////////////
// CCAttendInfo dialog
class CCAttendInfo : public CDialog
{
// Construction
public:
void DisPlayInfo(CString ID);
CCAttendInfo(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCAttendInfo)
enum { IDD = IDD_DIA_AttendInfo };
RxGrid m_Sql_Grid;
CBaseEdit m_Edtstaffname;
CBaseEdit m_EdtstaffID;
CBaseComboBox m_Comstaffdep;
CDateTimeCtrl m_Kqtime;
CBaseComboBox m_ComDept;
CBaseButton m_undo;
CBaseButton m_exit;
CBaseButton m_save;
CBaseButton m_delete;
CBaseButton m_change;
CBaseButton m_add;
CBaseEdit m_Edtremark;
CBaseEdit m_EdtWday;
CBaseEdit m_EdtMday;//矿工天数
CBaseEdit m_EdtOday;
CBaseEdit m_EdtLday1;//迟到天数
CBaseEdit m_EdtLday;//请假天数
CBaseEdit m_EdtEday;//出差天数
CBaseEdit m_Edtname;
CBaseEdit m_EdtsID;
CBaseEdit m_EdtcheckID;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCAttendInfo)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCAttendInfo)
afx_msg void OnButundo();
afx_msg void OnButsave();
afx_msg void OnButexit();
afx_msg void OnButdelete();
afx_msg void OnButchange();
afx_msg void OnButadd();
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnBtnsel();
afx_msg void OnDblclkListGrid(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void ButtonEnabled(bool bEnabled);
void ClearEdit();
RxRecordset rst;
CString m_sID;
CString m_tID;
int AddOrChange;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CATTENDINFO_H__3A497A0A_6395_4DF6_AE47_7E3379F07831__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -