Esempio n. 1
0
 protected override void OnFormClosing(FormClosingEventArgs e)
 {
     SpotifyController.ShutDown();
     playbackManager.Dispose();
     _trayIcon.Visible = false; // remove tray icon
     base.OnFormClosing(e);
 }