SetThreshold.cpp 1022 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // SetThreshold.cpp : implementation file
  2. //
  3. #include "stdafx.h"
  4. #include "UPhoneBox.h"
  5. #include "SetThreshold.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CSetThreshold dialog
  13. CSetThreshold::CSetThreshold(CWnd* pParent /*=NULL*/)
  14. : CDialog(CSetThreshold::IDD, pParent)
  15. {
  16. //{{AFX_DATA_INIT(CSetThreshold)
  17. m_hangTh = _T("3");
  18. m_hookoffTh = _T("18");
  19. //}}AFX_DATA_INIT
  20. }
  21. void CSetThreshold::DoDataExchange(CDataExchange* pDX)
  22. {
  23. CDialog::DoDataExchange(pDX);
  24. //{{AFX_DATA_MAP(CSetThreshold)
  25. DDX_Text(pDX, IDC_HANGTH, m_hangTh);
  26. DDX_Text(pDX, IDC_HOOKOFFTH, m_hookoffTh);
  27. //}}AFX_DATA_MAP
  28. }
  29. BEGIN_MESSAGE_MAP(CSetThreshold, CDialog)
  30. //{{AFX_MSG_MAP(CSetThreshold)
  31. // NOTE: the ClassWizard will add message map macros here
  32. //}}AFX_MSG_MAP
  33. END_MESSAGE_MAP()
  34. /////////////////////////////////////////////////////////////////////////////
  35. // CSetThreshold message handlers