📄 monthreport.h
字号:
//{{AFX_INCLUDES()
#include "calendar.h"
#include "msflexgrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_MONTHREPORT_H__A75BBAE2_74CE_11D6_879B_005004BB527C__INCLUDED_)
#define AFX_MONTHREPORT_H__A75BBAE2_74CE_11D6_879B_005004BB527C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MonthReport.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMonthReport dialog
typedef struct t_STATIS
{
int num;
CString name;
CString huadan;
CString local;
CString china;
CString gat;
CString internal;
CString dates;
} STATIS;
class CMonthReport : public CDialog
{
// Construction
public:
STATIS m_Statis;
CMonthReport(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CMonthReport)
enum { IDD = IDD_DIALOG_MONTHREPORT };
CComboBox m_YStart;
CComboBox m_YEnd;
CComboBox m_MStart;
CComboBox m_MEnd;
CComboBox m_DStart;
CComboBox m_DEnd;
CMSFlexGrid m_Statistic;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMonthReport)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CMonthReport)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeMstart();
afx_msg void OnSelchangeMend();
afx_msg void OnButtonStatis();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CDaoDatabase m_pDB;
CTime t;
int curYear,curMonth,curDay;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MONTHREPORT_H__A75BBAE2_74CE_11D6_879B_005004BB527C__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -