右键单击在WebBrowser中下载图像 [英] Download Image in WebBrowser on right click

查看:96
本文介绍了右键单击在WebBrowser中下载图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在C#中使用Web浏览器,我正在尝试制作它,以便当我右键单击图像时将其保存到硬盘中.任何人都可以帮忙吗?

Hi i was playing around with the web browser in C# and i was trying to make it so that when i right clicked on an image it would save it to the hard drive. Can anyone help?

推荐答案

它是WebBrowser的内置功能.只需将WebBrowser的大多数设置保留为默认设置,您应该会看到该选项-不要尝试覆盖鼠标右键单击或处理此事件
It's build-in function of WebBrowser. Just leave most settings of WebBrowser to default and you should see that option - don't try to overwrite right-mouse click or handle this event


这篇关于右键单击在WebBrowser中下载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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