From 50a42e5d72e2f8cf92ff9b2273e0442977dbcefd Mon Sep 17 00:00:00 2001
From: LAPTOP-T815PCOQ\25526 <mr.liuyang@126.com>
Date: 星期三, 18 十二月 2024 18:28:02 +0800
Subject: [PATCH] 1. 对话框基类添加动态控件管理 2. 对话框基类主题切换功能

---
 SourceCode/Bond/BondEq/CPageAlarm.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/BondEq/CPageAlarm.h b/SourceCode/Bond/BondEq/CPageAlarm.h
index 2fdbcb7..583a6b2 100644
--- a/SourceCode/Bond/BondEq/CPageAlarm.h
+++ b/SourceCode/Bond/BondEq/CPageAlarm.h
@@ -1,4 +1,5 @@
 #pragma once
+#include "AlarmMonitor.h"
 
 
 // CPageAlarm 对话框
@@ -13,6 +14,10 @@
 
 private:
 	void InitRxWindow();
+	void Resize();
+	void LoadAlarms();
+	void AddAlarm(CAlarmMonitor* pMonitor, CAlarm* pAlarm);
+	void UpdateAlarm(CAlarmMonitor* pMonitor, CAlarm* pAlarm);
 
 private:
 	COLORREF m_crBkgnd;
@@ -34,4 +39,5 @@
 	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
 	afx_msg void OnDestroy();
 	afx_msg void OnSize(UINT nType, int cx, int cy);
+	virtual BOOL DestroyWindow();
 };

--
Gitblit v1.9.3