picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.52k stars 319 forks source link

Wpf: Fix startup when attaching to a WPF application #2667

Closed cwensley closed 1 week ago

cwensley commented 1 week ago

When attaching to an existing WPF application the System.Windows.Application.Startup event is not called, so we now assume it has already started and set everything up directly.

This fixes issues showing new windows as they were being added to a delayed list of windows to show and would never be shown.