/* * 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; Settings.Default.ranalready = true; Application.Exit(); }
/* * 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(); }