www.pudn.com > ImgSeg.rar > DlgSobelThin.cpp
// DlgSobelThin.cpp : implementation file
//
#include "stdafx.h"
#include "ImgSeg.h"
#include "DlgSobelThin.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CDlgSobelThin dialog
CDlgSobelThin::CDlgSobelThin(CWnd* pParent /*=NULL*/)
: CDialog(CDlgSobelThin::IDD, pParent)
{
//{{AFX_DATA_INIT(CDlgSobelThin)
m_ThinNum = 0;
//}}AFX_DATA_INIT
}
void CDlgSobelThin::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CDlgSobelThin)
DDX_Text(pDX, IDC_THINNUM, m_ThinNum);
DDV_MinMaxInt(pDX, m_ThinNum, 0, 50);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CDlgSobelThin, CDialog)
//{{AFX_MSG_MAP(CDlgSobelThin)
ON_BN_CLICKED(IDC_CANCEL, Cancel)
ON_BN_CLICKED(IDC_OK, Ok)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CDlgSobelThin message handlers
void CDlgSobelThin::Cancel()
{
// TODO: Add your control notification handler code here
OnCancel();
}
void CDlgSobelThin::Ok()
{
// TODO: Add your control notification handler code here
OnOK();
}