private void Core_MainUserStatusSet(object sender, Core.StatusSetEventArgs e) { Application.Current.Dispatcher.Invoke(delegate { labelStatus.Content = e.Status.StatusContent; labelStatus.Visibility = Visibility.Visible; }); }
private static void Core_UserStatusSet(object sender, Core.StatusSetEventArgs e) { Console.WriteLine("User updated status!"); Print(e.Status.StatusContent); }