任务对话框按钮控制?对话框、按钮、任务

由网友(半裸狂热者)分享简介:我想一个任务对话框样式的按钮控件添加到我的.NET应用程序(C#)。它是在下面的截图中标记为自定义按钮。I am trying to add a task dialog-style button control to my .NET application (C#). It is labeled "Custom B...

我想一个任务对话框样式的按钮控件添加到我的.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 VistaWin7 specific APIs (Including TaskDialog) for .NET.

阅读全文

相关推荐

最新文章