BeginInvoke(new MethodInvoker(DisplayData)); // FORM this.Invoke(new Action(() => { Show(); })); // WPF Application.Current.Dispatcher.Invoke(delegate { Show(); }); // or Dispatcher.Invoke(() => SendToast(false));