From d1b72117058f1131046b6aa3add8e3ccfae033d8 Mon Sep 17 00:00:00 2001
From: wenxiangchao <wenxiangchao@ihengxin.com.cn>
Date: 星期一, 09 十一月 2026 10:36:07 +0800
Subject: [PATCH] docs: CAN 模拟器独立 TCP 服务进程设计规格(统一 CanDeviceDriver + 双工推送协议)

---
 WPFProject/Controls/MainTabControl.xaml |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/WPFProject/Controls/MainTabControl.xaml b/WPFProject/Controls/MainTabControl.xaml
index f28f6ee..d48c9c8 100644
--- a/WPFProject/Controls/MainTabControl.xaml
+++ b/WPFProject/Controls/MainTabControl.xaml
@@ -159,7 +159,7 @@
             <DockPanel Background="Transparent">
                 <Border DockPanel.Dock="Left" BorderThickness="1,1,0,1" Background="Transparent" BorderBrush="{StaticResource PrimaryColor}" Width="50"></Border>
                 <ListBox DockPanel.Dock="Left" Grid.Row="0" x:Name="Menu"
- Style="{StaticResource ListBoxItemStyle1}" FontSize="16"
+ Style="{StaticResource ListBoxItemStyle1}" FontSize="14"
  BorderBrush="{StaticResource PrimaryColor}"
  BorderThickness="1"
  SelectionChanged="Menu_SelectionChanged"
@@ -180,9 +180,8 @@
          Style="{StaticResource ListBoxItemStyle2}"
          BorderBrush="Gray"
                  Visibility="{Binding MenuVisibility}"
-                 SelectedItem="{Binding SelectedSubMenu}" AlternationCount="{Binding SubMenuItems.Count}"
-                 SelectionChanged="SubMenu_SelectionChanged"
-BorderThickness="0" ItemsSource="{Binding SubMenuItems}" >
+                 SelectedItem="{Binding SelectedSubMenu,Mode=OneWay}" AlternationCount="{Binding SubMenuItems.Count}"
+                 SelectionChanged="SubMenu_SelectionChanged" BorderThickness="0" ItemsSource="{Binding SubMenuItems}" >
                 </ListBox>
             </DockPanel>
         </Border>

--
Gitblit v1.9.1