1.如何取的winform程序中的默认图片,其实这个图片你用windows收索是收不到的,因为它被包含在dll中,具体实现如下:
It is stored as a resource in the System.Windows.Forms.dll assembly. You could get a copy with Reflector. Open the assembly, open the Resources node, all the way down to "wfc.ico". Right-click, Save As. Not sure why you'd want to use it, given that it is the default.
You set a custom icon for your application with Project + Properties, Application tab, Icon setting. Each form has its own Icon property.如下图:
做个快乐的自己。