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