在任务栏上的Windows 7 .NET进度条 [英] .NET Progress bar in taskbar on windows 7

查看:208
本文介绍了在任务栏上的Windows 7 .NET进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何才能让我的WinForms应用程序,以显示其在任务栏上的Windows 7图标进度条?

How can I make my winforms app to show its progress bar in the icon of the taskbar on windows 7?

例如:镀铬与下载

谢谢!

迭戈

推荐答案

您必须下载的Windows API code包.NET ,并使用这些组件与Windows 7交互(假设你没有使用.NET 4.0)。

You have to download the Windows API Code Pack for .NET and use those components to interact with Windows 7 (assuming you're not using .NET 4.0).

如果您使用的是.NET 4.0,您应该包括 System.Windows.Shell 命名空间来访问到Windows 7任务栏功能。

If you are using .NET 4.0, you should include the System.Windows.Shell namespace to gain access to the Windows 7 task bar features.

这篇关于在任务栏上的Windows 7 .NET进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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