diff --git a/WpfExtended/Launch/ExtendedApplication.cs b/WpfExtended/Launch/ExtendedApplication.cs index 47ebfcb..6494467 100644 --- a/WpfExtended/Launch/ExtendedApplication.cs +++ b/WpfExtended/Launch/ExtendedApplication.cs @@ -87,13 +87,13 @@ namespace System.Windows.Extensions private void LaunchWindow() { - var window = this.ServiceProvider.GetRequiredService(); this.ApplicationStarting(); foreach(var service in this.ServiceProvider.GetServices()) { service.OnStartup(); } + var window = this.ServiceProvider.GetRequiredService(); window.Show(); } private void RegisterInternals() diff --git a/WpfExtended/WpfExtended.csproj b/WpfExtended/WpfExtended.csproj index 8e6cc7e..6e3c97c 100644 --- a/WpfExtended/WpfExtended.csproj +++ b/WpfExtended/WpfExtended.csproj @@ -6,7 +6,7 @@ true true License.txt - 0.7.1 + 0.7.2 latest Extension library for Windows Presentation Platform.