Beispiel #1
0
 public void DirectMessage(ITweetItem tweet)
 {
     StatusText      = string.Empty;
     _outgoing.Tweet = tweet;
     _outgoing.Type  = OutgoingType.DirectMessage;
     Show();
 }
Beispiel #2
0
 public void Quote(ITweetItem tweet)
 {
     StatusText      = string.Format("RT @{0} {1}", tweet.User.ScreenName, tweet.Text);
     _outgoing.Tweet = tweet;
     _outgoing.Type  = OutgoingType.Quote;
     Show();
 }
Beispiel #3
0
 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);
            }
        }
Beispiel #6
0
 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);
     }
 }
Beispiel #7
0
 public void DirectMessage(ITweetItem tweet)
 {
     StatusText = string.Empty;
     _outgoing.Tweet = tweet;
     _outgoing.Type = OutgoingType.DirectMessage;
     Show();
 }
Beispiel #8
0
 public void Quote(ITweetItem tweet)
 {
     StatusText = string.Format("RT @{0} {1}", tweet.User.ScreenName, tweet.Text);
     _outgoing.Tweet = tweet;
     _outgoing.Type = OutgoingType.Quote;
     Show();
 }
Beispiel #9
0
 public void Reply(ITweetItem tweet)
 {
     StatusText = '@' + tweet.User.ScreenName;
     _outgoing.Tweet = tweet;
     _outgoing.Type = OutgoingType.Reply;
     Show();
 }