📄 statsheet.cpp
字号:
// StatSheet.cpp : implementation file
//
#include "stdafx.h"
#include "resource.h"
#include "StatSheet.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStatisticsSheet
IMPLEMENT_DYNAMIC(CStatisticsSheet, CPropertySheet)
CStatisticsSheet::CStatisticsSheet(CWnd* pWndParent)
: CPropertySheet(IDS_PROPSHT_CAPTION1, pWndParent)
{
// Add all of the property pages here. Note that
// the order that they appear in here will be
// the order they appear in on screen. By default,
// the first page of the set is the active one.
// One way to make a different property page the
// active one is to call SetActivePage().
// initialize variable
fIndex = -1;
sType = _ERRSTATTYPE;
qcond.icnt = 0; // prepare count the instruction
qcond.ornumth = 0;
qcond.orIndex[0] = 0;
// add propertyPage
AddPage(&m_Page1);
AddPage(&m_Page2);
AddPage(&m_Page3);
AddPage(&m_Page4);
SetWizardMode();
}
CStatisticsSheet::~CStatisticsSheet()
{
}
BEGIN_MESSAGE_MAP(CStatisticsSheet, CPropertySheet)
//{{AFX_MSG_MAP(CStatisticsSheet)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStatisticsSheet message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -