⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tritransfromerppg.cpp

📁 一个三接变压器符号控件
💻 CPP
字号:
// TritransfromerPpg.cpp : Implementation of the CTritransfromerPropPage property page class.

#include "stdafx.h"
#include "tritransfromer.h"
#include "TritransfromerPpg.h"

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


IMPLEMENT_DYNCREATE(CTritransfromerPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CTritransfromerPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CTritransfromerPropPage)
	// NOTE - ClassWizard will add and remove message map entries
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CTritransfromerPropPage, "TRITRANSFROMER.TritransfromerPropPage.1",
	0x11061aad, 0x189c, 0x4a77, 0x91, 0x3a, 0x96, 0x2, 0x8, 0x2a, 0xee, 0x76)


/////////////////////////////////////////////////////////////////////////////
// CTritransfromerPropPage::CTritransfromerPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CTritransfromerPropPage

BOOL CTritransfromerPropPage::CTritransfromerPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_TRITRANSFROMER_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CTritransfromerPropPage::CTritransfromerPropPage - Constructor

CTritransfromerPropPage::CTritransfromerPropPage() :
	COlePropertyPage(IDD, IDS_TRITRANSFROMER_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CTritransfromerPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CTritransfromerPropPage::DoDataExchange - Moves data between page and properties

void CTritransfromerPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CTritransfromerPropPage)
	// NOTE: ClassWizard will add DDP, DDX, and DDV calls here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_MAP
	DDP_PostProcessing(pDX);
}


/////////////////////////////////////////////////////////////////////////////
// CTritransfromerPropPage message handlers

⌨️ 快捷键说明

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