From e15e0d2f9305e71cd160f1ddceab93c7889eab20 Mon Sep 17 00:00:00 2001
From: mrDarker <mr.darker@163.com>
Date: 星期四, 05 六月 2025 17:37:33 +0800
Subject: [PATCH] 1. 解决自定义按钮资源泄露问题 2. 增加Slot点击回调和鼠标悬停/点击高亮效果

---
 SourceCode/Bond/Servo/CPageGraph2.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/CPageGraph2.cpp b/SourceCode/Bond/Servo/CPageGraph2.cpp
index 6f06274..d2a356e 100644
--- a/SourceCode/Bond/Servo/CPageGraph2.cpp
+++ b/SourceCode/Bond/Servo/CPageGraph2.cpp
@@ -128,6 +128,11 @@
 
 		CHMPropertyDlg dlg(pEquipment->getName().c_str(), 658, 788);
 
+		CEquipmentPage1* pPage1 = new CEquipmentPage1();
+		pPage1->setEquipment(pEquipment);
+		pPage1->Create(IDD_PAGE_EQUIPMENT1);
+		dlg.addPage(pPage1, "Link Signal");
+
 		if (_strcmpi(pEquipment->getClassName(), "CLoadPort") == 0) {
 			CPagePortProperty* pPageA = new CPagePortProperty();
 			pPageA->setLoadPort((SERVO::CLoadPort*)pEquipment);

--
Gitblit v1.9.3