Here is a tool
developed in C# Windows Application which allows you to search on google
based on your query
which you give in textbox.
The layout of this tool is :

Coding:
The coding is almost simple
C#
using System;
using
System.Collections.Generic;
using
System.ComponentModel;
using
System.Data;
using
System.Drawing;
using
System.Text;
using
System.Windows.Forms;
using System.IO;
namespace SearchTool
{
public partial class Form1 : Form
{
public
Form1()
{
InitializeComponent();
}
private
void button1_Click(object
sender, EventArgs e)
{
if
(queryBox.Text.Trim().Length==0)
{
label1.Text = "Please enter text to search";
return;
}
else
{
string
nikhilkumar = "http://www.google.com/search?q="
+ queryBox.Text;
webBrowser1.Navigate(nikhilkumar);
}
}
private
void button2_Click(object
sender, EventArgs e)
{
webBrowser1.GoBack();
}
private
void button3_Click(object
sender, EventArgs e)
{
webBrowser1.GoForward();
}

Mahesh ChandPosted Jan 20, 2010, 9:59 AM
1. You may want to fix code formatting. Here are a few ways to do. You can copy code direct from Visual Studio and paste in the editor. If format it not right, try copying code from Visual Studio to Word doc, and then copy in the editor. If that does not work, use the editor to fix the formatting. I just did yours. 2. Also try to not have bold text in articles.