Exemplo n.º 1
0
        protected override void OnInitialized(EventArgs e)
        {
            base.OnInitialized(e);

            playerHandler = PlayerHandler.Instance;
            this.horizontalListBox.ItemsSource = playerHandler.BuilbingLands();

            if (playerHandler.BuilbingLands().Count() == 0)
            {
                EmptyList.Visibility = Visibility.Visible;
            }
        }