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

📄 setobsdia.cpp

📁 双蚁群算法实现机器人路径规划
💻 CPP
字号:
// SETOBSDIA.cpp : implementation file
//

#include "stdafx.h"
#include "AntColony.h"
#include "SETOBSDIA.h"

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

/////////////////////////////////////////////////////////////////////////////
// SETOBSDIA dialog


SETOBSDIA::SETOBSDIA(CWnd* pParent /*=NULL*/)
	: CDialog(SETOBSDIA::IDD, pParent)
{
	//{{AFX_DATA_INIT(SETOBSDIA)
	m_AUTOSETOBS = 0.0;
	//}}AFX_DATA_INIT
}


void SETOBSDIA::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(SETOBSDIA)
	DDX_Text(pDX, IDC_EDIT1, m_AUTOSETOBS);
	DDV_MinMaxDouble(pDX, m_AUTOSETOBS, 1.e-003, 90.);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(SETOBSDIA, CDialog)
	//{{AFX_MSG_MAP(SETOBSDIA)
	ON_BN_CLICKED(IDC_BUTTON1, OnButton1)
	ON_BN_CLICKED(IDC_BUTTON2, OnButton2)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// SETOBSDIA message handlers

void SETOBSDIA::OnButton1() 
{
	// TODO: Add your control notification handler code here
	ShellExecute(NULL,_T("open"),"iexplore.exe","http://hi.baidu.com/lrxxz",NULL,SW_SHOW); 

}

void SETOBSDIA::OnButton2() 
{
	// TODO: Add your control notification handler code here

ShellExecute(NULL,_T("open"),"iexplore.exe","http://blog.sina.com.cn/wakor",NULL,SW_SHOW);
}

⌨️ 快捷键说明

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