lyttwo3.cpp

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

CPP
48
字号
// LYTTWO3.cpp : implementation file
//

#include "stdafx.h"
#include "LYTGraphics.h"
#include "LYTTWO3.h"

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

/////////////////////////////////////////////////////////////////////////////
// LYTTWO3 dialog


LYTTWO3::LYTTWO3(CWnd* pParent /*=NULL*/)
	: CDialog(LYTTWO3::IDD, pParent)
{
	//{{AFX_DATA_INIT(LYTTWO3)
	m1 = 1.0f;//初始化变形参数
	m2 = 1.0f;
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void LYTTWO3::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(LYTTWO3)
	DDX_Text(pDX, IDC_EDIT4, m1);
	DDX_Text(pDX, IDC_EDIT5, m2);
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// LYTTWO3 message handlers

⌨️ 快捷键说明

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