cdc2.cpp

来自「wince下的程序,是一个五子棋的游戏,希望对大家的学习有所帮助」· C++ 代码 · 共 30 行

CPP
30
字号
#include "stdafx.h"
//#include "7.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
#include "CDC2.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CDC2::CDC2()
{this->msize.cx =0 ;
this->msize.cy =0 ;
}

CDC2::~CDC2()
{

}
CSize CDC2::GetSize()
{
return (this->msize); 	
}
void CDC2::SetSize(CSize size)
{	this->msize.cx =size.cx ;
	this->msize.cy =size.cy;
}

⌨️ 快捷键说明

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