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); }
void ClientLeft(ServerHost host, Guid id, ServerHost.ClientLeaveReason reason) { RenderProgress(host, true); }