protected virtual void OnClientUpdate(ClientUpdateEventArgs e) { if (ClientUpdate != null) { ClientUpdate(this, e); } }
void client_ClientUpdate(object sender, ClientUpdateEventArgs e) { toolStripStatusLabel.Text = e.Text; if (client != null && client.Task != null) { labelTaskInfo.Text = string.Format("Id zadania: {0}\nData wygaœniêcia: {1}\n{2}", client.TaskId, client.Task.ExpireTime, client.Task.Description); } }