Esempio n. 1
0
        private void AddBadge()
        {
            var element = DefaultManager.Instance.DefaultBadge;

            DataManager.Instance.AddBadge(element);

            var vm = new BadgeViewModel(element);

            BadgeCollection.Add(vm);
            OnPropertyChanged("BadgeCollection");
            CurrentBadge = vm;
        }
Esempio n. 2
0
        private void AddBadge()
        {
            var element = DefaultManager.Instance.DefaultBadge;
            DataManager.Instance.AddBadge(element);

            var vm = new BadgeViewModel(element);
            BadgeCollection.Add(vm);
            OnPropertyChanged("BadgeCollection");
            CurrentBadge = vm;
        }