Example #1
0
 void server_ClientLeft(ServerHost host, Guid clientIdentity, ServerHost.ClientLeaveReason reason)
 {
     Dispatcher.BeginInvoke((Action)(() =>
     {
         this.lblServerClients.Text = host.Clients.Count.ToString();
         // TODO: add an event to a log window
     }), System.Windows.Threading.DispatcherPriority.Background);
 }
Example #2
0
 void ClientLeft(ServerHost host, Guid id, ServerHost.ClientLeaveReason reason)
 {
     RenderProgress(host, true);
 }