-
Notifications
You must be signed in to change notification settings - Fork 967
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
[API Suggestion] Improve MessageBox in WinForms dotnet Core #12044
Comments
@memoarfaa in .NET 5 we added support for the OS @Olina-Zhang @LeafShi1 can you verify for me that |
@merriemcgaw private void CheckConnectionStatus()
{
try
{
if (_sqlConnection.State != ConnectionState.Open)
{
_sqlConnection.Open();
}
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString(), "Failed to Open Connection");
}
} This is not about OS dark mode only. I saw a similar issue still open in Wpf. Why don't we make Messagebox much better? About TaskDialog @Olina-Zhang @LeafShi1 Is there a problem, if both Messagebox and TaskDialog have a more flexible look? I will open a pull request for doing this if the team agrees otherwise I will close this issue as not acceptable api. |
Setting OS with dark mode color cannot respond to a series of TaskDialogs, although enabled DarkMode for application by testdarkmode.mp4 |
The team's consensus is that we try to minimize touching the @Olina-Zhang can you file a separate issue about |
Filed an issue for |
Background and motivation
Improving MessageBox is something every developer wants, so they all resort to creating an alternative interface for it. You can find many examples on Github. This is because they cannot localize it or change its appearance, so this new API solves this problem.
API Proposal
API Usage
Alternative Designs
Risks
No response
Will this feature affect UI controls?
Will VS Designer need to support the feature? no
Will this feature need to be localized or be localizable? yes
The text was updated successfully, but these errors were encountered: