public App() { UnityInitializer.Configure(); var container = UnityInitializer.GetConfiguredContainer(); MainWindow = container.Resolve <MainWindow>(); MainWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen; MainWindow.Show(); }
public App() { UnityInitializer.Configure(); var container = UnityInitializer.GetConfiguredContainer(); MainWindow = container.Resolve <MainWindow>(); MainWindow.WindowStartupLocation = WindowStartupLocation.CenterScreen; MainWindow.Show(); }