gpt4 book ai didi

.net - 非 UI 线程可以显示在屏幕上吗?

转载 作者:行者123 更新时间:2023-12-04 23:30:17 26 4
gpt4 key购买 nike

只有 UI 线程能够显示到屏幕上,还是其他线程也可以这样做?

最佳答案

不,您只能直接从 UI 线程访问 UI,但您可以编码来自其他线程的结果,例如使用 Control.Invoke 或 control.BegineInvoke/EndInvoke

查询 this出去

关于.net - 非 UI 线程可以显示在屏幕上吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6063082/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com