Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Analyzers for correctly guiding the handling of modal dialogs #11586

Open
KlausLoeffelmann opened this issue Jun 25, 2024 · 0 comments
Labels
Analyzer (Roslyn) A Roslyn Analyzer is either needed for the context, needs to be scope extended or fixed.
Milestone

Comments

@KlausLoeffelmann
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Analyzer (Roslyn) A Roslyn Analyzer is either needed for the context, needs to be scope extended or fixed.
Projects
None yet
Development

No branches or pull requests

1 participant