Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.2 KiB

  1. // CopyItem.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "viewex.h"
  5. #include "CopyItem.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CCopyItem dialog
  13. CCopyItem::CCopyItem(CWnd* pParent /*=NULL*/)
  14. : CDialog(CCopyItem::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CCopyItem)
  17. m_strDestination = _T("");
  18. m_strParent = _T("");
  19. m_strSource = _T("");
  20. //}}AFX_DATA_INIT
  21. }
  22. void CCopyItem::SetContainerName( CString strParent )
  23. {
  24. m_strParent = strParent;
  25. }
  26. void CCopyItem::DoDataExchange(CDataExchange* pDX)
  27. {
  28. CDialog::DoDataExchange(pDX);
  29. //{{AFX_DATA_MAP(CCopyItem)
  30. DDX_Text(pDX, IDC_DESTINATION, m_strDestination);
  31. DDX_Text(pDX, IDC_PARENT, m_strParent);
  32. DDX_Text(pDX, IDC_SOURCE, m_strSource);
  33. //}}AFX_DATA_MAP
  34. }
  35. BEGIN_MESSAGE_MAP(CCopyItem, CDialog)
  36. //{{AFX_MSG_MAP(CCopyItem)
  37. // NOTE: the ClassWizard will add message map macros here
  38. //}}AFX_MSG_MAP
  39. END_MESSAGE_MAP()
  40. /////////////////////////////////////////////////////////////////////////////
  41. // CCopyItem message handlers