简体   繁体   English

如何在C#中为任务栏图标设置数值?

[英]How can I make a numerical value for a taskbar icon in C#?

I'm trying to find a way to display the current processor time of an application to the user via the taskbar when my application is minimized. 我试图找到一种在最小化我的应用程序时通过任务栏向用户显示应用程序当前处理器时间的方法。 For reference, I want something like what is implemented in Coretemp, where if you minimize the application, you can still see the temperature of the computer processor cores in the taskbar. 作为参考,我想要类似Coretemp中实现的内容,如果您最小化应用程序,则仍可以在任务栏中看到计算机处理器核心的温度。 Does anyone know of how this is done in C#? 有谁知道这是如何在C#中完成的?

This text is controlled by the title of the form. 此文本由表单标题控制。 You can always change the form's title. 您可以随时更改表单的标题。

This might help: How to make a window have taskbar text but no title bar 这可能会有所帮助: 如何使窗口具有任务栏文本但没有标题栏

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM