LAPTOP-SNT8I5JK\Boounion
2025-06-12 4897210a25e7c98ddacb1fa4ecee3e8bdd1ae98e
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);