动态设置的WinForms应用程序一个PictureBox的图像?应用程序、图像、动态、WinForms

由网友(看左邊╰→逗比這是右)分享简介:我得到application.startuppath像下面; C:\ Documents和Settings \ AJU \我的文档\ Visual Studio中2010 \项目\ gManager \ gManager \斌\调试和我有一个形象在这里为图片框设置.. \图片\ Image1.jpg 我应该怎么做的Pi...

我得到application.startuppath像下面;

  

C: Documents和Settings AJU 我的文档 Visual Studio中   2010 项目 gManager gManager 斌调试

和我有一个形象在这里为图片框设置  .. 图片 Image1.jpg

我应该怎么做的PictureBox的图像属性设置?

解决方案

  pictureBox1.Load(path_to_picture)
 

DevExpress 20.2.3 WinForms Controls for .NET 5

I gets the application.startuppath like below;

C:Documents and Settingsajumy documentsvisual studio 2010ProjectsgManagergManagerbinDebug

And i have a image here to set for picturebox ..ImagesImage1.jpg

what should i do to set the image property of picturebox ?

解决方案

pictureBox1.Load(path_to_picture)

阅读全文

相关推荐

最新文章