setsheet.cpp
来自「本人工作中的一个软件开发实例。里面包含了数据库」· C++ 代码 · 共 55 行
CPP
55 行
// 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 + =
减小字号Ctrl + -
显示快捷键?