public void Exit() { this.OnExiting?.Invoke(this, EventArgs.Empty); this.TrayIcon.Visible = false; WindowsFunctions.UnregisterHotKey(this.Handle, 0); this._bufermanApplication = null; Application.Exit(); }
public void Exit() { this.OnExiting?.Invoke(this, EventArgs.Empty); this.TrayIcon.Visible = false; WindowsFunctions.UnregisterHotKey(this.Handle, 0); this._bufermanApplication = null; Application.Exit(); }