WatchPage.cpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // WatchPage.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "IDE.h"
  5. #include "WatchPage.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CWatchPage property page
  13. IMPLEMENT_DYNCREATE(CWatchPage, CPropertyPage)
  14. CWatchPage::CWatchPage() : CPropertyPage(CWatchPage::IDD)
  15. {
  16. //{{AFX_DATA_INIT(CWatchPage)
  17. m_nLowwer = 0;
  18. m_nUpper = 0;
  19. m_nHandType = -1;
  20. //}}AFX_DATA_INIT
  21. }
  22. CWatchPage::~CWatchPage()
  23. {
  24. }
  25. void CWatchPage::DoDataExchange(CDataExchange* pDX)
  26. {
  27. CPropertyPage::DoDataExchange(pDX);
  28. //{{AFX_DATA_MAP(CWatchPage)
  29. DDX_Text(pDX, IDC_LOWWER, m_nLowwer);
  30. DDX_Text(pDX, IDC_UPPER, m_nUpper);
  31. DDX_Radio(pDX, IDC_HANDTYPE, m_nHandType);
  32. //}}AFX_DATA_MAP
  33. }
  34. BEGIN_MESSAGE_MAP(CWatchPage, CPropertyPage)
  35. //{{AFX_MSG_MAP(CWatchPage)
  36. //}}AFX_MSG_MAP
  37. END_MESSAGE_MAP()
  38. /////////////////////////////////////////////////////////////////////////////
  39. // CWatchPage message handlers