예제 #1
0
        private void ProfileView(object obj)
        {
            XboxProfile       Profile = XboxConnection.GetProfile(Friends.ElementAt(SelectedFriendIndex).Gamertag);
            ProfileViewerView v       = new ProfileViewerView(Profile);

            v.Show();
        }
예제 #2
0
        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);
            }
        }
예제 #3
0
 private void FriendUnfavorite(object obj)
 {
     XboxConnection.UnfavoriteFriend(Friends.ElementAt(SelectedFriendIndex).xuid);
 }
예제 #4
0
 private void FriendRemove(object obj)
 {
     XboxConnection.RemoveFriend(Friends.ElementAt(SelectedFriendIndex).xuid);
 }
예제 #5
0
        private void FriendsView(object obj)
        {
            FriendsListView v = new FriendsListView(Friends.ElementAt(SelectedFriendIndex).Gamertag, Friends.ElementAt(SelectedFriendIndex).xuid);

            v.Show();
        }