propersheet1.cpp

来自「这个是我用mfc写的一个pl0的编译器」· C++ 代码 · 共 55 行

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

#include "stdafx.h"
#include "MFCpl0.h"
#include "propersheet1.h"
#include "execute.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Cpropersheet1

IMPLEMENT_DYNAMIC(Cpropersheet1, CPropertySheet)

Cpropersheet1::Cpropersheet1(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
	AddPage(&prop2);
}

Cpropersheet1::Cpropersheet1(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
	:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
	AddPage(&prop2);
}

Cpropersheet1::~Cpropersheet1()
{
}


BEGIN_MESSAGE_MAP(Cpropersheet1, CPropertySheet)
	//{{AFX_MSG_MAP(Cpropersheet1)
		// NOTE - the ClassWizard will add and remove mapping macros here.
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Cpropersheet1 message handlers



void Cpropersheet1::inputtable(tablestruct table[])
{
	for(int i=0 ;i<txmax;i++)
	{
		globetable[i]=table[i];
	}
	prop2.Addmsg(globetable);
}

⌨️ 快捷键说明

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