protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); NinjectConfig.ConfigureContainer(); NinjectConfig.ComposeObjects(Current); Current.MainWindow.Show(); }