protected override void OnFormClosing(FormClosingEventArgs e) { base.OnFormClosing(e); if (continuarExecucao) { return; } ComunicacaoServidor.Desconectar(); Application.Exit(); }
public void Close() { ComunicacaoServidor.Desconectar(); }