protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); IOC.Setup(); Current.MainWindow = new MainWindow(); Current.MainWindow.Show(); }