Introduce Analyzers for correctly guiding the handling of modal dialogs
KlausLoeffelmann opened this issue · comments
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 a Cancel_Click
event or even close the Dialog manually. (Although, the calling instance need to Dispose
them manually!)
We should consider Analyzers for ensuring best practices here.