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

📄 mycdc.cpp

📁 一个基于对话框的五子棋游戏,支持人机对战.
💻 CPP
字号:
// MyCDC.cpp: implementation of the MyCDC class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Wzq.h"
#include "MyCDC.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

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

MyCDC::~MyCDC()
{

}

CSize MyCDC::GetSize()
{
	return (this->msize);
}

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

⌨️ 快捷键说明

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