Dynamically adding and loading image from Resources in C#

后端 未结 5 1935
太阳男子
太阳男子 2020-12-19 02:31

I have some images added to my solution, right now it is under the folder images\\flowers\\rose.png inside the solution explorer. I want a way to dynamically load this imag

5条回答
  •  渐次进展
    2020-12-19 03:33

    The way you are adding image and then changing its "Build action" to "Resources" will also do the job, But as you have asked for adding and loading from Resources wold be a different approach to achieve the same task. I would liketo provide you a link to read certain msdn articles.

    Adding and Editing Resources (Visual C#)

提交回复
热议问题