ArcPage.cpp 1021 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // ArcPage.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "IDE.h"
  5. #include "ArcPage.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CArcPage property page
  13. IMPLEMENT_DYNCREATE(CArcPage, CPropertyPage)
  14. CArcPage::CArcPage() : CPropertyPage(CArcPage::IDD)
  15. {
  16. //{{AFX_DATA_INIT(CArcPage)
  17. m_nStartAngle = 0;
  18. m_nSweepAngle = 0;
  19. //}}AFX_DATA_INIT
  20. }
  21. CArcPage::~CArcPage()
  22. {
  23. }
  24. void CArcPage::DoDataExchange(CDataExchange* pDX)
  25. {
  26. CPropertyPage::DoDataExchange(pDX);
  27. //{{AFX_DATA_MAP(CArcPage)
  28. DDX_Text(pDX, IDC_STARTANG, m_nStartAngle);
  29. DDX_Text(pDX, IDC_STOPANG, m_nSweepAngle);
  30. //}}AFX_DATA_MAP
  31. }
  32. BEGIN_MESSAGE_MAP(CArcPage, CPropertyPage)
  33. //{{AFX_MSG_MAP(CArcPage)
  34. // NOTE: the ClassWizard will add message map macros here
  35. //}}AFX_MSG_MAP
  36. END_MESSAGE_MAP()
  37. /////////////////////////////////////////////////////////////////////////////
  38. // CArcPage message handlers