C# PictureBox设置图片

C# PictureBox设置图片

1、网上图片

this.pictureBox1.ImageLocation = @"https://img-blog.csdnimg.cn/2020070316210530.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_20,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L2NzZG5fd3V3dA==,size_86,color_444444,t_70#pic_center";

2、本地图片

this.pictureBox1.ImageLocation = @"D:/csdn_wuwt.png";

你可能感兴趣的:(C#,PictureBox设置图片,PictureBox控件,图片控件,Winform,C#)