mdialog1.cpp

来自「本程序通过在200*100的格子上按照一定的密度随机洒点模拟生命游戏 默认」· C++ 代码 · 共 57 行

CPP
57
字号
// mDialog1.cpp : implementation file
//

#include "stdafx.h"
#include "Pattern_2.h"
#include "mDialog1.h"

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

/////////////////////////////////////////////////////////////////////////////
// mDialog1 dialog


mDialog1::mDialog1(CWnd* pParent /*=NULL*/)
	: CDialog(mDialog1::IDD, pParent)
{
	//{{AFX_DATA_INIT(mDialog1)
	m_lengthnum=1000;
	m_depthnum=500;
	m_sticknum=1;
	//}}AFX_DATA_INIT
}


void mDialog1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(mDialog1)
	DDX_Text(pDX, IDC_lengthnum, m_lengthnum);
	DDX_Text(pDX, IDC_depthnum, m_depthnum);
	DDX_Text(pDX, IDC_sticknum, m_sticknum);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(mDialog1, CDialog)
	//{{AFX_MSG_MAP(mDialog1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// mDialog1 message handlers

void mDialog1::OnUpdatealfa() 
{

	// TODO: If this is a RICHEDIT control, the control will not
	// send this notification unless you override the CDialog::OnInitDialog()
	// function to send the EM_SETEVENTMASK message to the control
	// with the ENM_UPDATE flag ORed into the lParam mask.	
	// TODO: Add your control notification handler code here	
}

⌨️ 快捷键说明

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