📄 setsheet.cpp
字号:
// SetSheet.cpp : implementation file
//
#include "stdafx.h"
#include "OIL.h"
#include "SetSheet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSetSheet
IMPLEMENT_DYNAMIC(CSetSheet, CPropertySheet)
CSetSheet::CSetSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}
CSetSheet::CSetSheet()
:CPropertySheet("系统设置", NULL, 0)
{
m_PageSystemSet.Construct(IDD_PROP_SYSTEMSET);
m_PageOilCan.Construct(IDD_PROP_OILCAN);
m_PageCommSet.Construct(IDD_PROP_COMMSET);
m_PagePickerCan.Construct(IDD_PROP_PICKER);
AddPage(&m_PageSystemSet);
AddPage(&m_PageCommSet);
AddPage(&m_PageOilCan);
AddPage(&m_PagePickerCan);
}
CSetSheet::CSetSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
}
CSetSheet::~CSetSheet()
{
}
BEGIN_MESSAGE_MAP(CSetSheet, CPropertySheet)
//{{AFX_MSG_MAP(CSetSheet)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetSheet message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -