我的应用程序中有一个显示图片的图片框。现在,如果用户单击图片/图片框,那么他应该被重定向到图片框中为该特定图像提供的超链接。
这可能吗?如果是,那么如何,如果不是,那么有什么替代方案?
我正在使用 C#(Windows 开发)
让我知道我这边的任何意见
谢谢
请您参考如下方法:
using System.Diagnostics;
private void pictureBox1_Click(object sender, EventArgs e)
{
Process.Start("http://www.stackoverflow.com/questions/5713934/give-url-to-picturebox");
}
