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

📄 inputvalue.cpp

📁 运筹学最小支撑树的求解方法。该程序共有两种计算方法
💻 CPP
字号:
// InputValue.cpp : implementation file
//

#include "stdafx.h"
#include "MSTPro.h"
#include "InputValue.h"

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

/////////////////////////////////////////////////////////////////////////////
// CInputValue dialog


CInputValue::CInputValue(CWnd* pParent /*=NULL*/)
	: CDialog(CInputValue::IDD, pParent)
{
	//{{AFX_DATA_INIT(CInputValue)
	m_value = _T("1");
	//}}AFX_DATA_INIT
}


void CInputValue::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CInputValue)
	DDX_Text(pDX, IDC_EDIT1, m_value);
	DDV_MaxChars(pDX, m_value, 10);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CInputValue, CDialog)
	//{{AFX_MSG_MAP(CInputValue)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CInputValue message handlers

void CInputValue::OnOK() 
{
	// TODO: Add extra validation here
	UpdateData(TRUE);
	CDialog::OnOK();
}

void CInputValue::OnCancel() 
{
	// TODO: Add extra cleanup here
	
//	CDialog::OnCancel();
}

BOOL CInputValue::OnInitDialog() 
{
	CDialog::OnInitDialog();
	
	// TODO: Add extra initialization here
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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