Esempio n. 1
0
        /// <summary>
        ///
        /// </summary>
        private void GoTo()
        {
            if (cboUrl.Text.Trim().Length < 1)
            {
                return;
            }
            string url = parseUrl(cboUrl.Text);

            try
            {
                Uri u = new Uri(url);
                IeBrowser.Url = u;
                IeBrowser.Navigate(u);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }
Esempio n. 2
0
        /// <summary>
        ///
        /// </summary>
        private void GoTo()
        {
            if (cboUrl.Text.Trim().Length < 1)
            {
                return;
            }
            string url = parseUrl(cboUrl.Text);

            try
            {
                Uri u = new Uri(url);
                lblStatus.Text = " Loading page ..... ";
                this.Refresh();
                IeBrowser.Url = u;
                IeBrowser.Navigate(u);
                btnCapture.Enabled = false;
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.ToString());
            }
        }
Esempio n. 3
0
 private void btnForward_Click(object sender, EventArgs e)
 {
     IeBrowser.GoForward();
 }
Esempio n. 4
0
 private void btnStopLoad_Click(object sender, EventArgs e)
 {
     IeBrowser.Stop();
     btnCapture.Enabled = true;
 }
Esempio n. 5
0
 private void btnBack_Click(object sender, EventArgs e)
 {
     IeBrowser.GoBack();
 }
Esempio n. 6
0
 private void btnStopLoad_Click(object sender, EventArgs e)
 {
     IeBrowser.Stop();
 }