Exemplo n.º 1
0
 /// <summary>
 /// Quit Switcheroo
 /// </summary>
 private void Quit()
 {
     _notifyIcon.Dispose();
     _notifyIcon = null;
     _hotkey.Dispose();
     Application.Current.Shutdown();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Quit Switcheroo
 /// </summary>
 private void Quit()
 {
     m_notifyIcon.Dispose();
     m_notifyIcon = null;
     hotkey.Dispose();
     Environment.Exit(0);
 }