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