Ejemplo n.º 1
0
 private void CommentTweet_MouseDown(object sender, MouseButtonEventArgs e)
 {
     Tweet curItem = ((ListBoxItem)getTweetListBox().ContainerFromElement((Image)sender)).Content as Tweet;
     CommentsWindow cw = new CommentsWindow(twitter, curItem);
     //cw.tweet = curItem;
     //cw.twitterApi = twitter;
     cw.ShowDialog();
 }
 private void ShowAddCommentWin(object sender, RoutedEventArgs e)
 {
     Tweet curItem = ((ListBoxItem)AllTweetsListBox.ContainerFromElement((Image)sender)).Content as Tweet;
     CommentsWindow cw = new CommentsWindow(saNet, curItem);
     //cw.tweet = curItem;
     //cw.twitterApi = twitter;
     cw.ShowDialog();
 }