Пример #1
0
        public PickLvlFE AddLvlType(LvlItem item)
        {
            var lvlItem = new LvlButtonFE(item);

            Children.Add(lvlItem);
            lvlItem.Click += OnLevelSelected;
            return(this);
        }
Пример #2
0
        private void OnLevelSelected(object sender, RoutedEventArgs e)
        {
            LvlButtonFE button = sender as LvlButtonFE;

            GeneralWindow.Get.WindowSetting = button.LvlItem.WindowSetting;
        }