加载配置文件优化
This commit is contained in:
@@ -17,14 +17,14 @@ namespace MainModule
|
||||
regionManager.RegisterViewWithRegion("ShellViewManager", typeof(MainView));
|
||||
|
||||
// 2. 给 3 个台架分别注入测试视图
|
||||
// 当你点击 "台架 1" 的 Tab 时,就会显示这个 AutomatedTestingView
|
||||
regionManager.RegisterViewWithRegion("TestCell1", typeof(AutomatedTestingView));
|
||||
// 当你点击 "台架 1" 的 Tab 时,就会显示这个 ProtocolStartView
|
||||
regionManager.RegisterViewWithRegion("TestCell1", typeof(ProtocolStartView));
|
||||
|
||||
// 当你点击 "台架 2" 的 Tab 时,就会显示这个 AutomatedTestingView
|
||||
regionManager.RegisterViewWithRegion("TestCell2", typeof(AutomatedTestingView));
|
||||
// 当你点击 "台架 2" 的 Tab 时,就会显示这个 ProtocolStartView
|
||||
regionManager.RegisterViewWithRegion("TestCell2", typeof(ProtocolStartView));
|
||||
|
||||
// 当你点击 "台架 3" 的 Tab 时,就会显示这个 AutomatedTestingView
|
||||
regionManager.RegisterViewWithRegion("TestCell3", typeof(AutomatedTestingView));
|
||||
// 当你点击 "台架 3" 的 Tab 时,就会显示这个 ProtocolStartView
|
||||
regionManager.RegisterViewWithRegion("TestCell3", typeof(ProtocolStartView));
|
||||
}
|
||||
|
||||
public void RegisterTypes(IContainerRegistry containerRegistry)
|
||||
|
||||
Reference in New Issue
Block a user