timedialog.cpp
来自「蚁群算法是解决电力调配系统和商场供货系统问题的有效算法,这里提供了一种蚁群算法,」· C++ 代码 · 共 55 行
CPP
55 行
// TimeDialog.cpp : implementation file
//
#include "stdafx.h"
#include "acs.h"
#include "TimeDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CTimeDialog dialog
CTimeDialog::CTimeDialog(CWnd* pParent /*=NULL*/)
: CDialog(CTimeDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CTimeDialog)
//m_RunTime=0.0;
m_RunTime1 = 0.0;
//}}AFX_DATA_INIT
}
void CTimeDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CTimeDialog)
DDX_Text(pDX, IDC_RUNTIME, m_RunTime1);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CTimeDialog, CDialog)
//{{AFX_MSG_MAP(CTimeDialog)
ON_EN_CHANGE(IDC_RUNTIME, OnChangeRuntime)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTimeDialog message handlers
void CTimeDialog::OnChangeRuntime()
{
// 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.
// TODO: Add your control notification handler code here
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?