lyttwo2.cpp

来自「draw 2D and 3D basic graph with visual C」· C++ 代码 · 共 46 行

CPP
46
字号
// LYTTWO2.cpp : implementation file
//

#include "stdafx.h"
#include "LYTGraphics.h"
#include "LYTTWO2.h"

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

/////////////////////////////////////////////////////////////////////////////
// LYTTWO2 dialog


LYTTWO2::LYTTWO2(CWnd* pParent /*=NULL*/)
	: CDialog(LYTTWO2::IDD, pParent)
{
	//{{AFX_DATA_INIT(LYTTWO2)
	angle=0.0f;//初始化旋转角度
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void LYTTWO2::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(LYTTWO2)
	DDX_Text(pDX, IDC_EDIT3, angle);
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(LYTTWO2, CDialog)
	//{{AFX_MSG_MAP(LYTTWO2)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// LYTTWO2 message handlers

⌨️ 快捷键说明

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