?? setobsdia.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 + -