最新消息: USBMI致力于为网友们分享Windows、安卓、IOS等主流手机系统相关的资讯以及评测、同时提供相关教程、应用、软件下载等服务。

C#调用浏览器打开特定网页

业界 admin 6浏览 0评论
protected void LB1_Click1(object sender, EventArgs e)
    {
        MessageBox.Show( null, "将打开百度", "来自网页的消息",MessageBoxButtons.OKCancel,MessageBoxIcon.Information); 
        System.Diagnostics.Process.Start("Http://www.baidu");

    }


        private void button1_Click(object sender, EventArgs e)
        {
            Process.Start("iexplore.exe", @"http:\\www.baidu");
        }

protected void LB1_Click1(object sender, EventArgs e)
    {
        MessageBox.Show( null, "将打开百度", "来自网页的消息",MessageBoxButtons.OKCancel,MessageBoxIcon.Information); 
        System.Diagnostics.Process.Start("Http://www.baidu");

    }


        private void button1_Click(object sender, EventArgs e)
        {
            Process.Start("iexplore.exe", @"http:\\www.baidu");
        }

发布评论

评论列表 (0)

  1. 暂无评论