/// <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); } }
void client_UpdateUsers(object sender, UpdateUsersEventArgs e) { cw.clearList(); foreach (string element in e.UserList) { addUserToList(element); } cw.scrollToEnd(); }
private void Fire_UpdateUsers(UpdateUsersEventArgs o) { op.Post(x => OnUserUpdate(this, (UpdateUsersEventArgs)x), o); }
void client_UpdateUsers(object sender, UpdateUsersEventArgs e) { lstUsers.Items.Clear(); lstUsers.Items.AddRange(e.UserList); }
private void Client_UpdateUsers(object sender, UpdateUsersEventArgs e) { }