任务对话框按钮控制?

编程入门 行业动态 更新时间:2024-10-26 18:27:41
本文介绍了任务对话框按钮控制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我想一个任务对话框样式的按钮控件添加到我的.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.

在中,您可以使用 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.

更多推荐

任务对话框按钮控制?

本文发布于:2023-11-17 06:29:51,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609158.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:对话框   按钮

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!