62,074
社区成员
发帖
与我相关
我的任务
分享
while (contentLen != 0)
{
// 把内容从file stream 写入 upload stream
strm.Write(buff, 0, contentLen);
contentLen = fs.Read(buff, 0, buffLength);
UPLoadSize += contentLen;
this.lbl_ftpStakt.Text = "已下载:" + (int)(UPLoadSize / 1024) + "KB/"; //lbl控件
//myProgressControl.Value = startbye;
//Application.DoEvents();
Thread.Sleep(5);
this.CurrentTime.Text = "已下载:" + (int)(UPLoadSize / 1024) + "KB/"; //lbl控件 外部有局部刷新
}