📄 dlgstat.h
字号:
#if !defined(AFX_DLGSTAT_H__3B6CB87E_E36E_4774_B98A_DE343DE1CEF8__INCLUDED_)
#define AFX_DLGSTAT_H__3B6CB87E_E36E_4774_B98A_DE343DE1CEF8__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DlgStat.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDlgStat dialog
class CDlgStat : public CDialog
{
// Construction
public:
CDlgStat(CWnd* pParent = NULL); // standard constructor
CTime m_dtAMEnd;
CTime m_dtAMStart;
CTime m_dtPMEnd;
CTime m_dtPMStart;
CDatabase *m_pDB;
// Dialog Data
//{{AFX_DATA(CDlgStat)
enum { IDD = IDD_DLG_STAT };
CListCtrl m_listStat;
CString m_strPerID;
CString m_strYear;
CString m_strMonth;
CString m_strPerName;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDlgStat)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CTime GetTMByString(CString str);
void InsertStatInfo(int nID,CString monthStat,CString perID,CString perName,
float workhour,float othour,float leavehour,
float errandhour,int latetimes,int earlytimes);
void InsertItemInfo(CString item0,CString item1,CString item2,
CString item3,CString item4,CString item5,
CString item6,CString item7,CString item8,CString item9);
// Generated message map functions
//{{AFX_MSG(CDlgStat)
afx_msg void OnBtnStat();
virtual void OnOK();
afx_msg void OnBtnQueryByid();
afx_msg void OnBtnQueryAll();
virtual BOOL OnInitDialog();
afx_msg void OnChangeEditPerid();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DLGSTAT_H__3B6CB87E_E36E_4774_B98A_DE343DE1CEF8__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -