private void MoveSelectedRight_Executed(object obj)
        {
            var players = PlayerListBoxLeft.SelectedItems.Cast <Player>().ToArray();

            foreach (var player in players)
            {
                ListBoxRight.Add(player);
                ListBoxLeft.Remove(player);
            }
        }
 private void MainPage_PlayerDisconnected(Player obj)
 {
     lock (ListBoxLeftSync)
     {
         ListBoxLeft.Remove(obj);
     }
     lock (ListBoxRightSync)
     {
         ListBoxRight.Remove(obj);
     }
 }