c# open webrowser in many tab

Posted by tee on Stack Overflow See other posts from Stack Overflow or by tee
Published on 2010-12-26T03:29:00Z Indexed on 2010/12/26 3:54 UTC
Read the original article Hit count: 181

Filed under:
|
|

how can i create tab tab1 open samsung.com tab2 open hp.com ...

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace browsergotosamsung
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            webBrowser1.Navigate("http://www.samsung.com");
            webBrowser2.Navigate("http://www.hp.com");
            webBrowser3.Navigate("http://www.IBM.com"); 
        }

        private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {

        }

        private void webBrowser3_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {

        }

        private void webBrowser2_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
        {
            webBrowser2.Size
        }



    }
}

© Stack Overflow or respective owner

Related posts about c#

Related posts about browser