private void btRepost_Click(object sender, RoutedEventArgs e) { HyperlinkButton tmpButton = (HyperlinkButton)sender; FriendTimelineList FriendTimelineItem = (FriendTimelineList)tmpButton.DataContext; if (FriendTimelineItem != null) { userMentionChildWindow = new UserMentionChildWindow(FriendTimelineItem.FriendTwitterID); userMentionChildWindow.Closed += UserMentionChildWindow_Close; userMentionChildWindow.Show(); //RepostStatus(FriendTimelineItem.FriendTwitterID, "", 0); } }
private void btRepost_Click(object sender, RoutedEventArgs e) { HyperlinkButton tmpButton = (HyperlinkButton)sender; MentionList MentionItem = (MentionList)tmpButton.DataContext; if (MentionItem != null) { userMentionChildWindow = new UserMentionChildWindow(MentionItem.FriendTwitterID); userMentionChildWindow.Show(); } }