示例#1
0
 /// <summary>
 /// Post a message to the UI thread from the context of the worker thread.
 /// </summary>
 protected void PostToUI(UiThreadMsg m)
 {
     Base.ExecInUI(new Base.EmptyDelegate(m.Run));
 }
示例#2
0
文件: WmUiBroker.cs 项目: tmbx/kwm
 // End IUiBroker interface implementation
 /// <summary>
 /// Post a message to the UI thread.
 /// </summary>
 public void PostToUi(UiThreadMsg m)
 {
     Base.ExecInUI(new Base.EmptyDelegate(m.Run));
 }
示例#3
0
文件: Thread.cs 项目: tmbx/csutils
 /// <summary>
 /// Post a message to the UI thread from the context of the worker thread.
 /// </summary>
 protected void PostToUI(UiThreadMsg m)
 {
     Base.ExecInUI(new Base.EmptyDelegate(m.Run));
 }