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

📄 fractaldialog1.cpp

📁 VC小波应用 分形和混沌 FRACTAL AND GRASS DEMO
💻 CPP
字号:
// FractalDialog1.cpp : implementation file
//

#include "stdafx.h"
#include "Fractal.h"
#include "FractalDialog1.h"
#include "math.h"

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

/////////////////////////////////////////////////////////////////////////////
// CFractalDialog1 dialog


CFractalDialog1::CFractalDialog1(CWnd* pParent /*=NULL*/)
	: CDialog(CFractalDialog1::IDD, pParent)
{
	//{{AFX_DATA_INIT(CFractalDialog1)
	m_x0 = _T("");
	m_lanbuda1 = _T("");
	m_lanbuda2 = _T("");
	//}}AFX_DATA_INIT
}


void CFractalDialog1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFractalDialog1)
	DDX_Text(pDX, IDC_EDIT_X0, m_x0);
	DDX_Text(pDX, IDC_EDIT2, m_lanbuda1);
	DDX_Text(pDX, IDC_EDIT3, m_lanbuda2);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CFractalDialog1, CDialog)
	//{{AFX_MSG_MAP(CFractalDialog1)
	ON_EN_CHANGE(IDC_EDIT_X0, OnChangeEditX0)
	ON_EN_CHANGE(IDC_EDIT2, OnChangeEdit2)
	ON_EN_CHANGE(IDC_EDIT3, OnChangeEdit3)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFractalDialog1 message handlers

void CFractalDialog1::OnChangeEditX0() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	UpdateData();
	x0=atof(m_x0);
	// TODO: Add your control notification handler code here
	
}

void CFractalDialog1::OnChangeEdit2() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	UpdateData();
	lanbuda1=atof(m_lanbuda1);
	// TODO: Add your control notification handler code here
	
}

void CFractalDialog1::OnChangeEdit3() 
{
	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function and call CRichEditCtrl().SetEventMask()
	// with the ENM_CHANGE flag ORed into the mask.
	UpdateData();
	lanbuda2=atof(m_lanbuda2);
	// TODO: Add your control notification handler code here
	
}

⌨️ 快捷键说明

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