From fe2aa4880d5c9fd88088ad0ed81ebaca05629f5f Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 02 十一月 2026 17:59:45 +0800
Subject: [PATCH] feat: 集成CAN驱动/模拟器 + 仪器仪表注册/硬件调试模块

---
 WPFProject/Controls/IconTabItem.cs |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/WPFProject/Controls/IconTabItem.cs b/WPFProject/Controls/IconTabItem.cs
index 1c5faa3..2371f33 100644
--- a/WPFProject/Controls/IconTabItem.cs
+++ b/WPFProject/Controls/IconTabItem.cs
@@ -1,8 +1,8 @@
-锘縰sing System.ComponentModel;
+锘縰sing System.Collections.ObjectModel;
+using System.ComponentModel;
 using System.Runtime.CompilerServices;
 using System.Windows;
 using System.Windows.Controls;
-using System.Windows.Media;
 using System.Windows.Media.Imaging;
 
 namespace WPFProject.Controls
@@ -37,6 +37,13 @@
             set => _isFont = value;
         }
 
+        private string _Header;
+        public string Header
+        {
+            get => _Header;
+            set => _Header = value;
+        }
+
         private Window _Body;
         public Window Body
         {
@@ -44,6 +51,13 @@
             set => _Body = value;
         }
 
+        private ObservableCollection<IconTabItem> _Children;
+        public ObservableCollection<IconTabItem> Children
+        {
+            get => _Children;
+            set => RaiseAndSetIfChanged(ref _Children, value);
+        }
+
         public BitmapImage Icon
         {
             get { return (BitmapImage)GetValue(IconProperty); }

--
Gitblit v1.9.1