protected override void OnStop() { controller.Stop(); controller = null; }
private void Quit_Click(object sender, EventArgs e) { _controller.Stop(); _notifyIcon.Visible = false; Application.Exit(); }