Closed jftuga closed 3 years ago
Hi, thank you for your interest! As far as I can see you have tried to use the AutoClosingMessageBox in WPF, so I have added support of WPF in the context of .NET5 support and Win/WPF feature.
You can build the AutoClosingMessageBox library using the AutoClosingMessageBox.Net5.Wpf.sln solution.
Thank you.
This is awesome.Thank you for adding this in -- I really appreciate it!
Would you consider adding something like this:
Notice the
void
return type. I am not usingSystem.Windows.Forms
and would prefer not to import it just for this function since I don't care about the return value anyway. AlsoShow2
could probably be renamed to something more descriptive, but I am not sure what that should be.Right now, I have to fully define all my variable types such as
System.Windows.Controls.TextBox
instead of justTextBox
(andListBox
) since bothSystem.Windows.Controls
andSystem.Windows.Forms
define these exact same data types.Thank you.