任务对话框按钮控制? [英] Task dialog button control?

查看:132
本文介绍了任务对话框按钮控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想一个任务对话框样式的按钮控件添加到我的.NET应用程序(C#)。它是在下面的截图中标记为自定义按钮。

I am trying to add a task dialog-style button control to my .NET application (C#). It is labeled "Custom Button" in the screenshot below.

这是什么控制.NET,不然我怎么能得到它在我的.NET形式?

What is the name of this control for .NET, or how can I get it in my .NET form?

我需要XP的兼容性(和其他非Vista中,非7操作系统的)。

I need compatibility with XP (and other non-Vista, non-7 OS's).

我不需要创建整个对话。我只是希望按钮。

I do not need to create the entire dialog. I just want the button.

推荐答案

这就是所谓的CommandLink及其可用,因为Vista系统。 您可以使用 TaskDialog API来重新创建您发布的样本图像。

It is called CommandLink and its available since Vista. You can use the TaskDialog API to recreate the sample image that you posted.

在.net中,您可以使用 Vista的大桥工程它包装Vista的\ Win7的特定的API(包括 TaskDialog )的.NET。

Under .NET you can use the Vista Bridge project which wraps Vista\Win7 specific APIs (Including TaskDialog) for .NET.

这篇关于任务对话框按钮控制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆