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