如何使用C#在Windows中的任务栏上放置一个控件

How to place a control over the task bar in windows using c#(如何使用C#在Windows中的任务栏上放置一个控件)
本文介绍了如何使用C#在Windows中的任务栏上放置一个控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用谷歌搜索了很多,发现了一些关于乐队对象的信息,我们可以从中制作任务栏的广告,我可以从头开始获得更多教程吗?一些示例程序.

除了带对象之外,还有其他替代方法可以在 Windows 任务栏上放置控件吗?

提前致谢

解决方案

如果您想像 Google 桌面搜索栏一样在任务栏中放置一个文本框,那么您实际上并没有尝试将控件放置在 上方 任务栏,你想把它放在任务栏.

这里的正确解决方案是桌带.您可以在

i googled a lot and found out some info about the band object from which we can make the ad-in for the task bar, can i get some more tutorials from scratch & some sample programmes.

is there any other alternative way is there to place a control over the windows task bar apart from band objects?

Thanks in advance

解决方案

If you want to place a textbox in the taskbar like the Google Desktop search bar, then you're not actually trying to place the control over the taskbar, you want to place it within the taskbar.

The proper solution here is a Desk Band. You can find an MSDN article explaining those here. I'm not really sure why you say that you want to avoid band objects. That's the right way to do this.

                

                

There's even a sample implementation in C# available on Code Project: Extending Explorer with Band Objects using .NET and Windows Forms

这篇关于如何使用C#在Windows中的任务栏上放置一个控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)