private void ProfileView(object obj) { XboxProfile Profile = XboxConnection.GetProfile(Friends.ElementAt(SelectedFriendIndex).Gamertag); ProfileViewerView v = new ProfileViewerView(Profile); v.Show(); }
private void MessageSend(object obj) { string MessageText = string.Empty; MessageBoxResult res = InputBoxView.ShowDialog(string.Format("New message to {0}", Friends.ElementAt(SelectedFriendIndex).Gamertag), "Message:", out MessageText, MessageBoxButton.OKCancel); if (res == MessageBoxResult.OK) { XboxConnection.SendMessage(Friends.ElementAt(SelectedFriendIndex).Gamertag, MessageText); } }
private void FriendUnfavorite(object obj) { XboxConnection.UnfavoriteFriend(Friends.ElementAt(SelectedFriendIndex).xuid); }
private void FriendRemove(object obj) { XboxConnection.RemoveFriend(Friends.ElementAt(SelectedFriendIndex).xuid); }
private void FriendsView(object obj) { FriendsListView v = new FriendsListView(Friends.ElementAt(SelectedFriendIndex).Gamertag, Friends.ElementAt(SelectedFriendIndex).xuid); v.Show(); }