WaveletLevel.cpp
上传用户:aqingfeng
上传日期:2014-03-25
资源大小:1839k
文件大小:1k
- // WaveletLevel.cpp : implementation file
- //
- #include "stdafx.h"
- #include "小波变换.h"
- #include "WaveletLevel.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CWaveletLevel dialog
- CWaveletLevel::CWaveletLevel(CWnd* pParent /*=NULL*/)
- : CDialog(CWaveletLevel::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CWaveletLevel)
- m_nlevel = 3;
- //}}AFX_DATA_INIT
- }
- void CWaveletLevel::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CWaveletLevel)
- DDX_Control(pDX, IDC_SPINBUTTON, m_Ctrlspin);
- DDX_Text(pDX, IDC_NLEVEL, m_nlevel);
- DDV_MinMaxUInt(pDX, m_nlevel, 1, 10);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CWaveletLevel, CDialog)
- //{{AFX_MSG_MAP(CWaveletLevel)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CWaveletLevel message handlers
- BOOL CWaveletLevel::OnInitDialog()
- {
- CDialog::OnInitDialog();
-
- // TODO: Add extra initialization here
- m_Ctrlspin.SetRange(1,10);
-
- return TRUE; // return TRUE unless you set the focus to a control
- // EXCEPTION: OCX Property Pages should return FALSE
- }