mrDarker
2025-06-03 0393d1ff2ebc378b3c4cff9b45f72ebc8a4ea516
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);