Skip to content

Commit

Permalink
backup
Browse files Browse the repository at this point in the history
  • Loading branch information
huruiyi committed Dec 9, 2023
1 parent e6e4c85 commit 8cc393a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dotnet-samples/Basic/HuUtils/FileReceive.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ private void button1_Click(object sender, EventArgs e)
for (int j = 0; j < ThreadSize; j++)
{
httpfile[j] = new HttpFile(this, j);
threadk[j] = new Thread(new ThreadStart(httpfile[j].receive));
threadk[j] = new Thread(new ThreadStart(httpfile[j].Receive));
threadk[j].Start();
}
//启动合并各线程接收的文件线程
Expand Down
2 changes: 1 addition & 1 deletion dotnet-samples/Basic/HuUtils/HttpFile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public HttpFile(FileReceive form, int thread)//构造方法
{
FileReceiveForm.Dispose();
}
public void receive()//接收线程
public void Receive()//接收线程
{
Filename = FileReceiveForm.Filenamew[ThreadNum];
StrUrl = FileReceiveForm.Strurl;
Expand Down

0 comments on commit 8cc393a

Please sign in to comment.