.NET Progress bar in taskbar on windows 7

2019-03-09 23:26发布

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

e.g: chrome with downloads.

Thanks!!

Diego

3条回答
放我归山
2楼-- · 2019-03-09 23:55

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).

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.

查看更多
叛逆
3楼-- · 2019-03-09 23:55

In WPF4 you have

 <Window.TaskbarItemInfo>
        <TaskbarItemInfo> </..>
 </...>
查看更多
登录 后发表回答