📄 distance.cpp
字号:
// Distance.cpp : implementation file
//
#include "stdafx.h"
#include "找最短路系统.h"
#include "Distance.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDistance dialog
CDistance::CDistance(CWnd* pParent /*=NULL*/)
: CDialog(CDistance::IDD, pParent)
{
//{{AFX_DATA_INIT(CDistance)
m_distance = 0.0;
//}}AFX_DATA_INIT
}
void CDistance::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDistance)
DDX_Text(pDX, IDC_EDIT1, m_distance);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDistance, CDialog)
//{{AFX_MSG_MAP(CDistance)
ON_BN_CLICKED(IDC_OKK2, OnOkk2)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDistance message handlers
void CDistance::OnOkk2()
{
// TODO: Add your control notification handler code here
UpdateData(true);
OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -