private void contextClick_UserProfile(object sender, RoutedEventArgs e) { ClientTweet tweet = selectTweet; if (tweet == null) { return; } MenuItem item = sender as MenuItem; if (item == null) { return; } string strUser = item.Header.ToString().Replace("__", "_"); FollowWindow win = new FollowWindow(strUser); win.Show(); }
private void follower_Click(object sender, RoutedEventArgs e) { FollowWindow win = new FollowWindow(false); win.Show(); }