How to retrieve Image from Resources folder of the project in C#

后端 未结 5 1305
一生所求
一生所求 2021-01-04 08:39

i Have some images in resources folder in my project but i want to change the picture box from these resource files of the project

5条回答
  •  萌比男神i
    2021-01-04 09:34

    Worked for me:

    (Bitmap) Properties.Resources.ResourceManager.GetObject("ImageName");
    

提交回复
热议问题