📄 dlgthreshold.cpp
字号:
// dlgthreshold.cpp : implementation file
//
#include "stdafx.h"
#include "DERSImg.h"
#include "dlgthreshold.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgThreshold dialog
CDlgThreshold::CDlgThreshold(CWnd* pParent /*=NULL*/)
: CDialog(CDlgThreshold::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgThreshold)
m_strSource = _T("");
m_strResult = _T("");
m_nThreshold = 0;
//}}AFX_DATA_INIT
}
void CDlgThreshold::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgThreshold)
DDX_Text(pDX, IDC_SOURCE, m_strSource);
DDX_Text(pDX, IDC_RESULT, m_strResult);
DDX_Text(pDX, IDC_THRESHOLD, m_nThreshold);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgThreshold, CDialog)
//{{AFX_MSG_MAP(CDlgThreshold)
ON_BN_CLICKED(IDC_OPEN, OnOpen)
ON_BN_CLICKED(IDC_SAVE, OnSave)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgThreshold message handlers
void CDlgThreshold::OnOpen()
{
// TODO: Add your control notification handler code here
}
void CDlgThreshold::OnSave()
{
// TODO: Add your control notification handler code here
}
void CDlgThreshold::OnOK()
{
// TODO: Add extra validation here
CDialog::OnOK();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -