首页
科技
登录
6mi
u
盘
搜
搜 索
科技
WinForm 控件委托
WinForm 控件委托
it
2022-05-09
35
我们通常需要在多线程中更新控件的值,用此方法不必自己写委托。
this
.txtDemo.Invoke(
new
MethodInvoker
(
delegate
{
this
.txtDemo.Text = "Text"; }));
转载于:https://www.cnblogs.com/liaoyi/archive/2012/07/23/2604671.html
相关资源:C#跨窗体(Winform)调用控件(委托回调)
转载请注明原文地址: https://win8.8miu.com/read-1487304.html
专利
最新回复
(
0
)