C#从资源中加载图片 [英] C# Loading picture from resources

查看:378
本文介绍了C#从资源中加载图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

所以我对我的项目有疑问,我花了大约2天时间思考如何才能完成这项工作。

So i have issue about my project, i spent about 2 days thinking how could i get this done.

PS我是学习C#的新手。

P.S i'm new on learning in to C#.

所以我的问题是如何将图片加载到图片框中,而我在打开的应用程序中按下按钮,图片就在我项目的资源。

So my question is how to load a picture into a picturebox, while i press button in a open app, the picture is in the resources of my project.

推荐答案

我试过了,但图片没有改变
I tried, but the image don't change


这篇关于C#从资源中加载图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆