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

📄 inputdialog.cpp

📁 基于A算法的航路规划算法源码
💻 CPP
字号:
// inputdialog.cpp : implementation file
//

#include "stdafx.h"
#include "航路规划.h"
#include "inputdialog.h"

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

/////////////////////////////////////////////////////////////////////////////
// inputdialog dialog


inputdialog::inputdialog(CWnd* pParent /*=NULL*/)
	: CDialog(inputdialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(inputdialog)
	x = 0;
	y = 0;
	r = 0;
	//}}AFX_DATA_INIT
}


void inputdialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(inputdialog)
	DDX_Control(pDX, IDC_ED, m_ed);
	DDX_Text(pDX, coordinate_x, x);
	DDV_MinMaxInt(pDX, x, 0, 800);
	DDX_Text(pDX, coordinate_y, y);
	DDV_MinMaxInt(pDX, y, 0, 600);
	DDX_Text(pDX, radius, r);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// inputdialog message handlers

⌨️ 快捷键说明

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