Advertisement
rado84

LazySearchApp

Jun 16th, 2016
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement