SetupDlg.cpp
上传用户:chenhai826
上传日期:2007-04-11
资源大小:72k
文件大小:1k
- // SetupDlg.cpp : implementation file
- //
- #include "stdafx.h"
- #include "nopassword.h"
- #include "SetupDlg.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CSetupDlg dialog
- CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/)
- : CDialog(CSetupDlg::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CSetupDlg)
- m_AutoShutDown = FALSE;
- m_Sampling = _T("");
- m_Path = _T("");
- m_Scale = 0;
- //}}AFX_DATA_INIT
- }
- void CSetupDlg::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CSetupDlg)
- DDX_Check(pDX, IDC_CHECK1, m_AutoShutDown);
- DDX_CBString(pDX, IDC_COMBO1, m_Sampling);
- DDX_Text(pDX, IDC_EDIT1, m_Path);
- DDX_Text(pDX, IDC_EDIT2, m_Scale);
- DDV_MinMaxInt(pDX, m_Scale, 1, 50);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CSetupDlg, CDialog)
- //{{AFX_MSG_MAP(CSetupDlg)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CSetupDlg message handlers