Question: I'm creating simple browser just navigate the "google".

How can I do it in my point?

```
Viewer = new System.Windows.Forms.Panel();

private void Browser_Click(object sender, EventArgs e)
            {

                WebBrowser web1 = new WebBrowser();

                web1.Navigate("http://www.google.com/");

                Viewer = web1 // It gets error

            }

```

Answer: 
Reason for error is you are trying convert "Web Browser" control to "Panel" control type.

Change :

```
     Viewer = web1; 

```

To:

```
     Viewer.Controls.Add(web1); // add as child control
     web1.Dock = DockStyle.Fill; // fill style in viewer

```

Make sure your viewer is docked in Parent control as needed.
Hope it helps..!!
try 
web1.Url = new Uri("<http://www.google.com>");