From 1ccbfd852d0a7335fdc163eeff5b8f5b5ca50a58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chsc=E2=80=9D?= <“huangsucan@kaiyili-lab.com”> Date: Wed, 29 Jul 2026 15:32:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=B0=E6=9E=B68=E6=94=B9=E5=8F=B0=E6=9E=B63?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACP/Views/ShellView.xaml | 2 +- MainModule/MainModule.cs | 20 ++- MainModule/Views/MainView.xaml | 310 +++++++++------------------------ 3 files changed, 102 insertions(+), 230 deletions(-) diff --git a/ACP/Views/ShellView.xaml b/ACP/Views/ShellView.xaml index ac33618..a44c3d8 100644 --- a/ACP/Views/ShellView.xaml +++ b/ACP/Views/ShellView.xaml @@ -227,7 +227,7 @@ Command="{Binding GetFileStringCommand}"> - (); + + // 1. regionManager.RegisterViewWithRegion("ShellViewManager", typeof(MainView)); + + // 2. 3 ֱ̨ܷעͼ + // "̨ 1" Tab ʱͻʾ AutomatedTestingView + regionManager.RegisterViewWithRegion("TestCell1", typeof(AutomatedTestingView)); + + // "̨ 2" Tab ʱͻʾ AutomatedTestingView + regionManager.RegisterViewWithRegion("TestCell2", typeof(AutomatedTestingView)); + + // "̨ 3" Tab ʱͻʾ AutomatedTestingView + regionManager.RegisterViewWithRegion("TestCell3", typeof(AutomatedTestingView)); } public void RegisterTypes(IContainerRegistry containerRegistry) @@ -22,4 +34,4 @@ namespace MainModule containerRegistry.RegisterForNavigation("ProtocolStartView"); } } -} +} \ No newline at end of file diff --git a/MainModule/Views/MainView.xaml b/MainModule/Views/MainView.xaml index 2ad346d..422b67c 100644 --- a/MainModule/Views/MainView.xaml +++ b/MainModule/Views/MainView.xaml @@ -8,6 +8,7 @@ xmlns:converters="clr-namespace:UIShare.Converters;assembly=UIShare" prism:ViewModelLocator.AutoWireViewModel="True" mc:Ignorable="d" d:DesignHeight="1080" d:DesignWidth="1920"> + @@ -18,241 +19,100 @@ - - - - - - - - - - - + + + + + + + + + + + + - - + - - - - - - + + + + + + + - - - - - - + + + + + + - - - - - - + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file