mirror of
https://github.com/proxysu/ProxySU.git
synced 2024-11-21 20:56:08 +03:00
学习使用多线程
This commit is contained in:
parent
e0c2b9efb0
commit
c52102b5e7
@ -328,7 +328,7 @@ namespace ProxySU
|
||||
//Random random = new Random();
|
||||
//String Num = random.Next(0, 100).ToString();
|
||||
Action<TextBlock, String> updateAction = new Action<TextBlock, string>(UpdateTextBlockSetUpProcessing);
|
||||
TextBlockSetUpProcessing.Dispatcher.BeginInvoke(updateAction, textBlockName, Num);
|
||||
//TextBlockSetUpProcessing.Dispatcher.BeginInvoke(updateAction, textBlockName, Num);
|
||||
}
|
||||
//更新UI显示内容
|
||||
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