Example #1
0
 internal void OnListClientIdReceived(IEnumerable <int> id)
 {
     ListClientIdReceived(this, ListClientIdEventArgs.NewEvent(id));
 }
Example #2
0
 void client_OnReceivedListClientId(Client sender, ListClientIdEventArgs eventArgs)
 {
     this.Invoke(new Action(() =>
     {
         listBox1.Items.Clear();
         listBox1.Items.AddRange(eventArgs.Id.Select(x => (object)x).ToArray());
     }));
 }