internal void Deconnecter(IList selectedItems) { if (currentDb.id == 0) { return; } try { Repos.Disconnect(selectedItems); Load(); } catch (Exception e) { EventLog.WriteEntry("Application", e.ToString(), EventLogEntryType.Error); MessageBox.Show(e.Message); } }