如题,

 

代码:

pictureBox_new.BackgroundImage = Properties.Resources.picture1;

变量说明:  

pictureBox_new 是添加的pictureBox控件命名, picture1 是导入项目资源中图片的命名;

 

是不是很方面呢,嘿嘿,,期待你分享更好更灵活的方法,谢谢,

愿上帝祝福你,

相关文章:

  • 2022-12-23
  • 2021-12-12
  • 2021-08-31
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-02
  • 2022-12-23
  • 2021-09-26
  • 2021-11-22
  • 2021-10-27
  • 2021-04-22
  • 2022-12-23
相关资源
相似解决方案