在运行时更改图标 [英] Change Icon on runtime
本文介绍了在运行时更改图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Application.Icon.LoadFromFile(''MyIcon.ico'');
在我的PC中的上述代码中,.net没有在.net中显示我如何在运行时更改图标文件.........
Application.Icon.LoadFromFile(''MyIcon.ico'');
in above code in my pc .icon is not showing in .net how i change my icon file in run time............
推荐答案
VinodKumar01写道:
VinodKumar01 wrote:
我如何在运行时更改图标文件.
how i change my icon file in run time..
如果要按下按钮并更改图标或其他方式,请尝试此操作.
Me.NotifyIcon1.Icon = Me.Icon
if you want to press a button and change the icon or some other way then try this .
Me.NotifyIcon1.Icon = Me.Icon
这篇关于在运行时更改图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文