sharpthredlg.cpp

来自「人民邮电出版社的——Visual C++数字图像处理典型算法及实现(源码) 希」· C++ 代码 · 共 45 行

CPP
45
字号
// SharpThreDlg.cpp : implementation file
//

#include "stdafx.h"
#include "TemplateTrans.h"
#include "SharpThreDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CSharpThreDlg dialog


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


void CSharpThreDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CSharpThreDlg)
	DDX_Text(pDX, IDC_EDIT_Thre, m_bThre);
	DDV_MinMaxByte(pDX, m_bThre, 0, 255);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CSharpThreDlg, CDialog)
	//{{AFX_MSG_MAP(CSharpThreDlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSharpThreDlg message handlers

⌨️ 快捷键说明

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