Closed KlausLoeffelmann closed 1 month ago
Locked this for now, since it's work in progress.
Unlocked. Let's discuss from here.
What is the added value from this? How does this make application more responsive than the regular call which blocks UI thread during InitializeComponent of the dialog and when it's rendered (because how else would you do it anyways? there is no I/O to be asynchronous here or is it)?
Rationale
Fluent and responsive desktop UI are not exclusive domains of UWP, WinUi or WPF. WinForm is also capable of this, not only in principle: In order to guarantee fluid WinForms app and to exclude "application not responding" messages, it should also be possible in WinForms to apply the programming paradigm with async and await that is predominant in .NET [Core] anyway.
Showing a modal Dialog asynchronously is an important element in this context.
Proposed API