Introduce Analyzers for correctly guiding the handling of modal dialogs #11586
Labels
Analyzer (Roslyn)
A Roslyn Analyzer is either needed for the context, needs to be scope extended or fixed.
Milestone
The handling of modal Dialogs can be completely implemented just by configuring them correctly in the Designer. There is no need to handle an
OK_Click
or aCancel_Click
event or even close the Dialog manually. (Although, the calling instance need toDispose
them manually!)We should consider Analyzers for ensuring best practices here.
The text was updated successfully, but these errors were encountered: