private void CurrentDatabase_ClientsRemoved(object sender, ClientRecordEventArgs e) { if (sender != this.CurrentDatabase) return; foreach (var client in e.ClientRecords) { _clients.Remove(client); } }
protected void OnClientsRemoved(ClientRecordEventArgs e) { if (ClientsRemoved != null) { ClientsRemoved(this, e); } }