inputnthre.cpp

来自「该代码用于计算波段的TVI值,该代码来源于作业程序,属于实验程序」· C++ 代码 · 共 47 行

CPP
47
字号
// InputnThre.cpp : implementation file
//

#include "stdafx.h"
#include "TVI.h"
#include "InputnThre.h"

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

/////////////////////////////////////////////////////////////////////////////
// CInputnThre dialog


CInputnThre::CInputnThre(CWnd* pParent /*=NULL*/)
	: CDialog(CInputnThre::IDD, pParent)
{
	//{{AFX_DATA_INIT(CInputnThre)
	m_nThreshold = 0;
	//}}AFX_DATA_INIT
}


void CInputnThre::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CInputnThre)
	DDX_Text(pDX, IDC_EDIT1, m_nThreshold);
	DDV_MinMaxInt(pDX, m_nThreshold, 0, 255);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CInputnThre, CDialog)
	//{{AFX_MSG_MAP(CInputnThre)

	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CInputnThre message handlers


⌨️ 快捷键说明

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