public void DirectMessage(ITweetItem tweet) { StatusText = string.Empty; _outgoing.Tweet = tweet; _outgoing.Type = OutgoingType.DirectMessage; Show(); }
public void Quote(ITweetItem tweet) { StatusText = string.Format("RT @{0} {1}", tweet.User.ScreenName, tweet.Text); _outgoing.Tweet = tweet; _outgoing.Type = OutgoingType.Quote; Show(); }
public void Reply(ITweetItem tweet) { StatusText = '@' + tweet.User.ScreenName; _outgoing.Tweet = tweet; _outgoing.Type = OutgoingType.Reply; Show(); }
public void NavigateToConversationTimeline(ITweetItem item) { if (item is Tweet) { var tweet = (Tweet)item; ActivateTimeline("Conversation", timeline => { timeline.CanClose = true; timeline.SubscribeToConversation(tweet); }); } }
private void ShowWindow(ITweetItem tweet) { if (_window == null) { _window = new NotificationWindow { Width = 400, Height = 100, Content = new NotificationControl() }; } if (_appInfo.IsNotificationsEnabled) { _window.Content.DataContext = tweet; _window.Close(); _window.Show(5000); } }