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); }
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); }
private void retootedName_MouseLeftButtonUp(object sender, MouseButtonEventArgs e) { if (navController == null) { return; } ProfilePanel profile = new ProfilePanel(); profile.profileScreenName = originalUserScreenName; navController.pushControl(profile); profile.refreshProfile(); }
private void userClick(object sender, MouseButtonEventArgs e) { if (navController == null) { return; } ProfilePanel profile = new ProfilePanel(); profile.profileScreenName = this.userHandle; navController.pushControl(profile); profile.refreshProfile(); }