monthreport.h

来自「一个可以控制单片机根据通话时间和所拨地区进行计费的软件!」· C头文件 代码 · 共 78 行

H
78
字号
//{{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 + =
减小字号Ctrl + -
显示快捷键?