title: WPF event for clicking textboxes in C#
body: <p>How can I raise an event while clicking a textbox? I'm having trouble finding references for events for WPF in C#.</p>
  
  <p>The idea is to have textboxes fire an event when clicked. For example, let's say as soon as I click a textbox, notepad is executed.</p>
  
  <pre><code> private void textBox1_TextChanged(object sender, TextChangedEventArgs e)
   {
       hello = Process.Start("notepad");   
   }
   private void Click(object sender, MouseButtonEventArgs e)
   {    
       /* if (e.LeftButton == MouseButtonState.Pressed)
       {
           hello = Process.Start(@"notepad");                
       }*/           
   }
  </code></pre>