Ejemplo 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;
        }
Ejemplo 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;
        }