Exemplo n.º 1
0
 /// <summary>
 /// </summary>
 /// <param name="message"></param>
 internal static void PostMessage(AsyncTaskMessage message)
 {
     if (uiController != null)
     {
         uiController.BeginInvoke(new PostMessageCallback(UIThreadCallback), new object[] { message });
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// </summary>
 /// <param name="message"></param>
 private static void UIThreadCallback(AsyncTaskMessage message)
 {
     message.Task.RaiseResultPostedEvent(message.Data, message.PercentComplete, message.IsComplete);
 }