コード例 #1
0
ファイル: FriendTimeline.xaml.cs プロジェクト: jv9/lightbus
        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);
            }
        }
コード例 #2
0
ファイル: UserMention.xaml.cs プロジェクト: jv9/lightbus
        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();
            }
        }