mrDarker
2025-06-19 4e5df2e71445ca3c0cc412e24510234e671b6072
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);