C# - 如何更改显示的文本以及任务栏按钮中的图标? [英] C# - how do I change the text displayed along with the icon in the taskbar button?

查看:89
本文介绍了C# - 如何更改显示的文本以及任务栏按钮中的图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在任务栏上更改winform应用程序的标题而不更改应用程序标题栏上的标题。



这是我需要更改任务栏上的文字,而不更改表格的文字属性。



我尝试过:



我试过

I want to change the title of the winform application on taskbar without changing the title on the title bar of the application.

That is I need to change the text on taskbar without changing the text property of the form.

What I have tried:

I tried the

Microsoft.WindowsAPICodePack.Shell.Taskbar.OverlayImage.Text = "Title"



但这不起作用。


But this doesnt work.

推荐答案

Form1 f1 = new Form1();
      f1.Text = "Running Form";





这就是全部吗?



Thats all ?


这篇关于C# - 如何更改显示的文本以及任务栏按钮中的图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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