Lets Start
Create New project
Third Step is to Drag TextField from ToolBar
Next Step is Code .Cs file for in click event of Button, Double click on the Button and place these lines of code there
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace Web_Broweser_tut{public partial class Form1 : Form{public Form1(){InitializeComponent();}private void button1_Click(object sender, EventArgs e){webBrowser1.Navigate(textBox1.Text);}}}
No comments:
Post a Comment