Esempio n. 1
0
 public static void Synchronize(GuiSynchronizeHandler handler, Object data)
 {
     if (Application.Current != null && handler != null)
     {
         Application.Current.Dispatcher.BeginInvoke(
             (Action)(() => { handler(data); })
             );
     }
 }
Esempio n. 2
0
 public static void Synchronize(GuiSynchronizeHandler handler, Object data)
 {
     if (Application.Current != null && handler != null)
     {
         Application.Current.Dispatcher.BeginInvoke(
             (Action)(() => { handler(data); })
         );
     }
 }