title: Event handling with WPF
body: <p>I just started learning WPF and C#.</p>
  
  <p>I'm trying to listen to global events on my WPF application. It has to run during the entire time the program is running. On a console application, I would run the logic in the Main() function. However, Main() is generated during compile time in a WPF application. </p>
  
  <p>Where do I put the event handlers in a WPF application?</p>