常用方法
常用方法
常用方法
常用方法
public void LoadMain(User user, IFrontServiceClient frontServiceClient) { this.mainWindow.Dispatcher.Invoke(() => { this.mainWindow.WindowState = WindowState.Normal; this.mainWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen; }); this.SetElement(mainWindow, (UIElement)viewFactory.CreateViewMain(user, frontServiceClient)); }