Esempio n. 1
0
 public void OnUserRemoved(UserRemovedEventArgs e)
 {
     if (this.UserRemoved != null)
     {
         this.UserRemoved(this, e);
     }
 }
Esempio n. 2
0
 void node_UserRemoved(object sender, UserRemovedEventArgs e)
 {
     Application.Current.Dispatcher.Invoke(() =>
     {
         for (var i = 0; i < Patients.Count; i++)
         {
             if (Patients[i].Id == e.Id)
             {
                 OnPatientRemoved(Patients[i]);
                 Patients.RemoveAt(i);
                 break;
             }
         }
     });
 }
 public void OnUserRemoved(UserRemovedEventArgs e)
 {
     if (UserRemoved != null)
     {
         UserRemoved(this, e);
     }
 }