1
0
Fork 0
mirror of https://github.com/proxysu/ProxySU.git synced 2025-04-03 22:03:39 +03:00

学习使用多线程

This commit is contained in:
ProxySU 2020-03-10 13:49:50 +08:00
parent e0c2b9efb0
commit c52102b5e7
3 changed files with 1 additions and 1 deletions

View file

@ -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)

Binary file not shown.

Binary file not shown.