WinForms message box with textual buttons

2019-04-29 01:29发布

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?

Windows new message box

4条回答
▲ chillily
2楼-- · 2019-04-29 01:50

You can find all about it in MSDN.

查看更多
Evening l夕情丶
3楼-- · 2019-04-29 01:50

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.

查看更多
贪生不怕死
4楼-- · 2019-04-29 01:56

Here is a code project article: Task Dialog WinForms

查看更多
叼着烟拽天下
5楼-- · 2019-04-29 02:02

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.

查看更多
登录 后发表回答