private void ExitApplication(object sender, EventArgs e) { _hotKeyManager.Dispose(); BarIcon.Dispose(); Application.Exit(); }