예제 #1
0
        private void nameHandleLabel_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            TextBlock    nameHandleLabel = (TextBlock)sender;
            Toot         toot            = (Toot)nameHandleLabel.DataContext;
            ProfilePanel panel           = new ProfilePanel();

            panel.twitterAccountToken = twitterAccountToken;
            panel.profileUserID       = toot.userID;
            panel.refreshProfile();
            navController.pushControl(panel);
        }
예제 #2
0
        private void Profile_Click(object sender, RoutedEventArgs e)
        {
            Grid         ctrl    = (Grid)sender;
            Profile      profile = (Profile)ctrl.DataContext;
            ProfilePanel panel   = new ProfilePanel();

            panel.profileScreenName   = profile.handle;
            panel.profileUserID       = profile.accountID;
            panel.twitterAccountToken = twitterAccountToken;
            panel.refreshProfile();
            navController.pushControl(panel);
        }
예제 #3
0
        private void retootedName_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
        {
            if (navController == null)
            {
                return;
            }
            ProfilePanel profile = new ProfilePanel();

            profile.profileScreenName = originalUserScreenName;
            navController.pushControl(profile);
            profile.refreshProfile();
        }
예제 #4
0
        private void userClick(object sender, MouseButtonEventArgs e)
        {
            if (navController == null)
            {
                return;
            }
            ProfilePanel profile = new ProfilePanel();

            profile.profileScreenName = this.userHandle;
            navController.pushControl(profile);
            profile.refreshProfile();
        }