Exemplo n.º 1
0
        private void SetupListCategories()
        {
            // Get names, number of buttons from XML
            List <string> lists = ManagerData.AllLists();

            foreach (string list in lists)
            {
                ListButtonsCategories.Add(new SpriteRectangle(list.ToLower(), textureButtonMenu, scaleDefault, Helper.UppercaseFirst(list)));
            }
            ListButtonsCategories.Add(new SpriteRectangle(Utility.nameButtonMenu, textureButtonMenu, scaleDefault, Utility.textbuttonMenu));
        }