Ejemplo n.º 1
0
 private void InitializeVariables()
 {
     Friends            = new List <Friend>(XboxConnection.GetFriends().OrderBy(b => b.Gamertag));
     SelectedFriends    = new List <Friend>();
     Message            = string.Empty;
     IndividualMessages = true;
 }
Ejemplo 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());
 }
Ejemplo n.º 3
0
 public FriendsListView(string Gamertag, string xuid)
 {
     InitializeComponent();
     (DataContext as FriendsListViewModel).Gamertag = Gamertag;
     (DataContext as FriendsListViewModel).xuid     = xuid;
     (DataContext as FriendsListViewModel).Friends  = new List <Friend>(XboxConnection.GetFriends(xuid));
 }
Ejemplo n.º 4
0
 private void InitializeVariables()
 {
     FriendsList = new List <Friend>(XboxConnection.GetFriends());
 }
Ejemplo n.º 5
0
 private void ListRefresh(object obj)
 {
     Friends = new List <Friend>(XboxConnection.GetFriends(xuid));
 }