SHARE
TWEET

LazySearchApp

rado84 Jun 16th, 2016 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Diagnostics;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11.  
  12. namespace GoogleSearchApp
  13. {
  14.     public partial class Form1 : Form
  15.     {
  16.         public Form1()
  17.         {
  18.             InitializeComponent();
  19.         }
  20.  
  21.         private void label1_Click(object sender, EventArgs e)
  22.         {
  23.  
  24.         }
  25.  
  26.         private void textBox1_TextChanged(object sender, EventArgs e)
  27.         {
  28.  
  29.         }
  30.  
  31.         private void button1_Click(object sender, EventArgs e)
  32.         {
  33.             string googleSearch = @"www.google.com/?q="+textBox1.Text+ " site:csharp-examples.net";
  34.             Process.Start(googleSearch);
  35.         }
  36.                
  37.     }
  38. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top