// Home button
 private void HomeButton_Click(object sender, EventArgs e)
 {
     if (BingBrowser.Url.AbsolutePath != "https://www.bing.com/")
     {
         BingBrowser.Navigate("https://www.bing.com/");
     }
 }
 // Go forward
 private void ForwardButton_Click(object sender, EventArgs e)
 {
     if (!BingBrowser.GoForward())
     {
         MessageBox.Show("There is no page to go forward to!", "Can't go forward!", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
        // Go backward
        private void BackButton_Click(object sender, EventArgs e)
        {
            // Check if we are at the default page
            if (BingBrowser.Url.AbsolutePath == "https://www.bing.com/")
            {
                return;
            }

            if (!BingBrowser.GoBack())
            {
                BingBrowser.Navigate("https://www.bing.com/");
            }
        }
 // For  bing browser
 private void SearchButton_Click(object sender, EventArgs e)
 {
     BingBrowser.Navigate("https://www.bing.com/search?q=" + SearchTextBox.Text);
 }
 // Reset button
 private void button4_Click(object sender, EventArgs e)
 {
     BingBrowser.Refresh();
 }
 public Form1()
 {
     InitializeComponent();
     BingBrowser.Navigate("https://www.bing.com/");
 }