How to add PNG resource in Visual Studio 2010?

后端 未结 2 494
有刺的猬
有刺的猬 2020-12-09 16:00

I have a PNG (i.e. a compressed image) that I\'d like to include in my assembly (i.e. application).

How to do it?

Additional information:

I tried ad

2条回答
  •  自闭症患者
    2020-12-09 16:31

    1. Go to the project menu -> properties.
    2. Select the resources tab
    3. Make sure Images is selected first.
    4. Click the arrow beside 'add resource'
    5. New Image (Select from Image File Types)
    6. Find the PNG

    enter image description here

提交回复
热议问题