Пример #1
0
 /// <summary>
 /// Capture all users and display them in the ConnectionList
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Client_UpdateUsers(object sender, UpdateUsersEventArgs e)
 {
     this.ConnectionList.Clear();
     foreach (String connection in e.UserList)
     {
         this.ConnectionList.Add(connection);
     }
 }
Пример #2
0
 void client_UpdateUsers(object sender, UpdateUsersEventArgs e)
 {
     cw.clearList();
     foreach (string element in e.UserList)
     {
         addUserToList(element);
     }
     cw.scrollToEnd();
 }
Пример #3
0
 private void Fire_UpdateUsers(UpdateUsersEventArgs o)
 {
     op.Post(x => OnUserUpdate(this, (UpdateUsersEventArgs)x), o);
 }
Пример #4
0
 void client_UpdateUsers(object sender, UpdateUsersEventArgs e)
 {
     lstUsers.Items.Clear();
     lstUsers.Items.AddRange(e.UserList);
 }
Пример #5
0
 private void Client_UpdateUsers(object sender, UpdateUsersEventArgs e)
 {
 }