SourceCode/Bond/Servo/PageAlarm.cpp
@@ -39,6 +39,13 @@ CPageAlarm::~CPageAlarm() { if (m_hbrBkgnd != nullptr) { ::DeleteObject(m_hbrBkgnd); } if (m_pObserver != nullptr) { m_pObserver->unsubscribe(); m_pObserver = nullptr; } } void CPageAlarm::InitRxWindow() @@ -199,7 +206,7 @@ BOOL CPageAlarm::OnInitDialog() { CDialogEx::OnInitDialog(); InitRxWindow(); SetTimer(1, 3000, nullptr); // 下拉框控件 CComboBox* pComboBox = (CComboBox*)GetDlgItem(IDC_COMBO_DATETIME);