private void menuOpen_Click(object sender, EventArgs e) { UrlOpen frmFileOpen; frmFileOpen = new UrlOpen(); DialogResult ret = frmFileOpen.ShowDialog(); if (ret == DialogResult.OK) { try { string url = frmFileOpen.cmbFileName.Text; axWebBrowser1.Navigate(url); toolAddress.Items.Add(url); } catch { } } }