Example #1
0
        private void CurrentDatabase_ClientsRemoved(object sender, ClientRecordEventArgs e)
        {
            if (sender != this.CurrentDatabase)
                return;

            foreach (var client in e.ClientRecords)
            {
                _clients.Remove(client);
            }
        }
Example #2
0
 protected void OnClientsRemoved(ClientRecordEventArgs e)
 {
     if (ClientsRemoved != null)
     {
         ClientsRemoved(this, e);
     }
 }