问题描述
大家好!
我需要将我的exe文件图标添加到MyProject.vbproj
注意:我不喜欢我需要从属性窗口添加我的exe图标。
任何人都可以帮助我并告诉我将XML添加到exe文件的XML代码?
谢谢。
Hi guys!
I need to add my icon of my exe file, into MyProject.vbproj
Attention: I don't need to add my exe icon from properties window.
Anybody can help me and let me know the code of XML to add icon to exe file?
Thanks.
推荐答案
this.Icon = ((System.Drawing.Icon)(resources.GetObject("
现在您不必从原因资源文件中获取该图标对象。
不确定这是你问的问题,你的项目中有什么类型的应用程序?
vb.net中的符号类似于Me.Icon =施放(resource.getobject(...)作为图标)如果我没记错,你可以找到更多能够在线翻译的语言;)
Now you do not have to get that icon object from a resource file of cause.
Not sure if this is what you ask, what type of application is it in your project?
the notation in vb.net is something like Me.Icon = cast(resource.getobject(...) as Icon) if i remember correctly but you can find a ton of language online translations more able ;)
这篇关于通过MyProject.vbproj将ico添加到项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!