Example #1
0
 /*
  * Application exit callback handler. Properly dispose of device capture. Set the systray
  * icon to false to keep it from hanging around until the user mouses over it.
  */
 public void OnApplicationExit(object sender, EventArgs e)
 {
     SamplerApp.Shutdown(sender, e);
     systrayIcon.Visible = false;
     Application.Exit();
 }