问题
Windows 7(?) introduced a new message box feature (I'm not sure what it is called so I've uploaded a picture). How can I create such a box in C# with WinForms?
回答1:
Here is a code project article: Task Dialog WinForms
回答2:
You can find all about it in MSDN.
回答3:
Hello there is a library with all vista and win7 dialogs:
http://www.ookii.org/software/dialogs/
The downside is that it requires full .Net not just client profile.
回答4:
As Hans Passant pointed out, the TaskDialog .NET API is provided by the Windows API Code Pack. There is an interesting article (German) about task dialogs and other functionality provided by the API.
来源:https://stackoverflow.com/questions/4342895/winforms-message-box-with-textual-buttons