private void wskClient_SendProgress(object sender, SendProgressEventArgs e) { pbClientSend.Minimum = 0; pbClientSend.Maximum = 100; pbClientSend.Value = (int)(100 * e.PercentComplete); }
private void wskServer_SendProgress(object sender, Treorisoft.Net.SendProgressEventArgs e) { pbServerSend.Minimum = 0; pbServerSend.Maximum = 100; pbServerSend.Value = (int)(100 * e.PercentComplete); }