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

            v.Show();
        }
Exemplo n.º 2
0
 public FriendsListView()
 {
     InitializeComponent();
     (DataContext as FriendsListViewModel).Gamertag = XboxConnection.GetProfile().Gamertag;
     (DataContext as FriendsListViewModel).xuid     = XboxConnection.GetProfile().ID.ToString();
     (DataContext as FriendsListViewModel).Friends  = new List <Friend>(XboxConnection.GetFriends());
 }
Exemplo n.º 3
0
 public ProfileViewerView(string Gamertag)
 {
     InitializeComponent();
     (DataContext as ProfileViewerViewModel).Profile = XboxConnection.GetProfile(Gamertag);
 }