Exemple #1
0
        public PickLvlFE AddLvlType(LvlItem item)
        {
            var lvlItem = new LvlButtonFE(item);

            Children.Add(lvlItem);
            lvlItem.Click += OnLevelSelected;
            return(this);
        }
Exemple #2
0
 public LvlButtonFE(LvlItem item)
 {
     LvlItem = item;
     Content = LvlItem.Title;
     Height  = 50;
     Width   = 400;
     Margin  = new Thickness(10);
 }