开发者

Changing icon of application at run time

开发者 https://www.devze.com 2022-12-09 05:14 出处:网络
I am trying to load an icon from a path and set it as a program icon. Any idea how to do 开发者_Python百科that?

I am trying to load an icon from a path and set it as a program icon. Any idea how to do 开发者_Python百科that?

I googled it saw a lot of answers but nothing worked.


Me.Icon = New Icon("c:\temp.ico")

You can put this in the Form's Load event

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号