Example #1
0
        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 {
                }
            }
        }
Example #2
0
        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 {
                }
            }
        }