.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Post New Resource Bookmark and Share   

Web browser using C#.net

Posted By:laptop charles       Posted Date: August 13, 2010    Points: 10    Category:    URL: http://www.dotnetspark.com  

Simple web browser.
 

It has 6 butttons,one textbox name is txtadd.
one is home,back,forword,stop,refersh,go.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

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

        private void btngo_Click(object sender, EventArgs e)
        {
            webbro.Navigate(txtadd.Text);
        }

        private void btnhome_Click(object sender, EventArgs e)
        {
            webbro.GoHome();
        }

        private void btnstop_Click(object sender, EventArgs e)
        {
            webbro.Stop();

        }

        private void btnrefersh_Click(object sender, EventArgs e)
        {
            webbro.Refresh();
        }

        private void btnback_Click(object sender, EventArgs e)
        {
            webbro.GoBack();
        }

        private void btnforward_Click(object sender, EventArgs e)
        {
            webbro.GoForward();
        }

     
        

           
       
    }
}

     

Further Readings:

Responses

No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend