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.

59 lines
1.2 KiB

  1. // NewComponent.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "minidev.h"
  5. #include "NewFile.h"
  6. #include "utility.h"
  7. #include "projnode.h"
  8. #include "gpdfile.h"
  9. #include "nproject.h"
  10. #include "nconvert.h"
  11. #include "newcomp.h"
  12. #ifdef _DEBUG
  13. #define new DEBUG_NEW
  14. #undef THIS_FILE
  15. static char THIS_FILE[] = __FILE__;
  16. #endif
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CNewComponent
  19. IMPLEMENT_DYNAMIC(CNewComponent, CPropertySheet)
  20. CNewComponent::CNewComponent(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
  21. :CPropertySheet(pszCaption, pParentWnd, iSelectPage)
  22. {
  23. AddPage(&m_cnf) ;
  24. AddPage(&m_cnp) ;
  25. AddPage(&m_cnc) ;
  26. }
  27. CNewComponent::CNewComponent(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
  28. :CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
  29. {
  30. }
  31. CNewComponent::~CNewComponent()
  32. {
  33. }
  34. BEGIN_MESSAGE_MAP(CNewComponent, CPropertySheet)
  35. //{{AFX_MSG_MAP(CNewComponent)
  36. // NOTE - the ClassWizard will add and remove mapping macros here.
  37. //}}AFX_MSG_MAP
  38. END_MESSAGE_MAP()
  39. /////////////////////////////////////////////////////////////////////////////
  40. // CNewComponent message handlers