mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-25 06:36:08 +03:00
学习使用多线程
This commit is contained in:
parent
e0c2b9efb0
commit
c52102b5e7
@ -328,7 +328,7 @@ namespace ProxySU
|
|||||||
//Random random = new Random();
|
//Random random = new Random();
|
||||||
//String Num = random.Next(0, 100).ToString();
|
//String Num = random.Next(0, 100).ToString();
|
||||||
Action<TextBlock, String> updateAction = new Action<TextBlock, string>(UpdateTextBlockSetUpProcessing);
|
Action<TextBlock, String> updateAction = new Action<TextBlock, string>(UpdateTextBlockSetUpProcessing);
|
||||||
TextBlockSetUpProcessing.Dispatcher.BeginInvoke(updateAction, textBlockName, Num);
|
//TextBlockSetUpProcessing.Dispatcher.BeginInvoke(updateAction, textBlockName, Num);
|
||||||
}
|
}
|
||||||
//更新UI显示内容
|
//更新UI显示内容
|
||||||
private void UpdateTextBlockSetUpProcessing(TextBlock textBlockName, string text)
|
private void UpdateTextBlockSetUpProcessing(TextBlock textBlockName, string text)
|
||||||
|
BIN
ProxySU/bin/Release/ProxySU.exe
Normal file
BIN
ProxySU/bin/Release/ProxySU.exe
Normal file
Binary file not shown.
BIN
ProxySU/bin/Release/Renci.SshNet.dll
Normal file
BIN
ProxySU/bin/Release/Renci.SshNet.dll
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user