NewTarget.cpp
上传用户:chenhai826
上传日期:2007-04-11
资源大小:72k
文件大小:1k
源码类别:

破解

开发平台:

Visual C++

  1. // NewTarget.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "NoPassword.h"
  5. #include "NewTarget.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CNewTarget dialog
  13. CNewTarget::CNewTarget(CWnd* pParent /*=NULL*/)
  14. : CDialog(CNewTarget::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CNewTarget)
  17. m_nFrom = 0;
  18. m_Host = _T("");
  19. m_nTo = 9999999;
  20. m_User = _T("");
  21. //}}AFX_DATA_INIT
  22. }
  23. void CNewTarget::DoDataExchange(CDataExchange* pDX)
  24. {
  25. CDialog::DoDataExchange(pDX);
  26. //{{AFX_DATA_MAP(CNewTarget)
  27. DDX_Text(pDX, IDC_FROM, m_nFrom);
  28. DDV_MinMaxInt(pDX, m_nFrom, 0, 9999999);
  29. DDX_Text(pDX, IDC_HOST, m_Host);
  30. DDX_Text(pDX, IDC_TO, m_nTo);
  31. DDV_MinMaxInt(pDX, m_nTo, m_nFrom, 9999999);
  32. DDX_Text(pDX, IDC_USER, m_User);
  33. //}}AFX_DATA_MAP
  34. }
  35. BEGIN_MESSAGE_MAP(CNewTarget, CDialog)
  36. //{{AFX_MSG_MAP(CNewTarget)
  37. // NOTE: the ClassWizard will add message map macros here
  38. //}}AFX_MSG_MAP
  39. END_MESSAGE_MAP()
  40. /////////////////////////////////////////////////////////////////////////////
  41. // CNewTarget message handlers