如何在没有按钮功能的情况下将图片放入图片框? [英] How to put picture in the picturebox without a button function?

查看:76
本文介绍了如何在没有按钮功能的情况下将图片放入图片框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于自动化过程



你能给我一个示例代码吗?需要帮助



[重新发布你能自动将图片加载到C#中的图片框中吗? [ ^ ] - SA]

For automation process

Can you give me a sample code? need the help

[Re-post of Can you load picture automatically put inside a picturebox in C#?[^] — SA]

推荐答案

尝试

Try
pictureBox1.ImageLocation = <...path to image...>;
pictureBox1.LoadAsync(); // perform loading


这篇关于如何在没有按钮功能的情况下将图片放入图片框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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