private void MnuDeconectare_Click(object sender, EventArgs e) { if (this.lSeIncarca) { return; } try { incepeIncarcarea(); this.lSeVreaDeconectare = true; BUtilizator.DeconecteazaUtilizatorConectat(null); BGeneral.DistrugeObiectele(); Program.Deconectare(this); } catch (Exception ex) { GestiuneErori.AfiseazaMesaj(this, ex); } finally { finalizeazaIncarcarea(); } }