sheet.cpp

来自「对文件进行处理。 包括文件复制、分割、连接、查看等。」· C++ 代码 · 共 55 行

CPP
55
字号
// Sheet.cpp : implementation file
//

#include "stdafx.h"
#include "Made.h"
#include "Sheet.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CSheet

IMPLEMENT_DYNAMIC(CSheet, CPropertySheet)

CSheet::CSheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}

CSheet::CSheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
	AddPage(&m_Comp);
	AddPage(&m_Equality);
	AddPage(&m_Frac);
	AddPage(&m_Link);
	AddPage(&m_Look);
}

CSheet::~CSheet()
{
}


BEGIN_MESSAGE_MAP(CSheet, CPropertySheet)
	//{{AFX_MSG_MAP(CSheet)
	ON_WM_DESTROY()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSheet message handlers

void CSheet::OnDestroy() 
{
	CPropertySheet::OnDestroy();
	CMadeApp * pa=(CMadeApp *)AfxGetApp();
	pa->WriteProfileInt("Set","History",GetActiveIndex());
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?