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