private void lblClose_Click(object sender, EventArgs e) { try { SSH.disconnect(); } catch { } Application.Exit(); }