NewTarget.cpp
上传用户:chenhai826
上传日期:2007-04-11
资源大小:72k
文件大小:1k
- // NewTarget.cpp : implementation file
- //
- #include "stdafx.h"
- #include "NoPassword.h"
- #include "NewTarget.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CNewTarget dialog
- CNewTarget::CNewTarget(CWnd* pParent /*=NULL*/)
- : CDialog(CNewTarget::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CNewTarget)
- m_nFrom = 0;
- m_Host = _T("");
- m_nTo = 9999999;
- m_User = _T("");
- //}}AFX_DATA_INIT
- }
- void CNewTarget::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CNewTarget)
- DDX_Text(pDX, IDC_FROM, m_nFrom);
- DDV_MinMaxInt(pDX, m_nFrom, 0, 9999999);
- DDX_Text(pDX, IDC_HOST, m_Host);
- DDX_Text(pDX, IDC_TO, m_nTo);
- DDV_MinMaxInt(pDX, m_nTo, m_nFrom, 9999999);
- DDX_Text(pDX, IDC_USER, m_User);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CNewTarget, CDialog)
- //{{AFX_MSG_MAP(CNewTarget)
- // NOTE: the ClassWizard will add message map macros here
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CNewTarget message handlers