Which one should I use and what are the differences:
System.Windows.MessageBox
System.Windows.Forms.MessageBox
The same question about System.Windows.Forms.SaveFileDialog
and Microsoft.Win32.SaveFileDialog
.
All I need is to show a message box and save file dialog (working on Windows XP as well).
Proper re-tagging is appreciated.
Thanks in advance, kh.
The controls in the System.Windows.Forms namespace are for WinForms applications. The controls in the System.Windows namespace are for WPF/Silverlight applications. So pick the controls that match your application type.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With