Esempio n. 1
0
        private void AddAbstractWork()
        {
            var abstractWork = DefaultManager.Instance.DefaultAbstractWork;

            DataManager.Instance.AddAbstractWorkToAbstract(Model, abstractWork);

            var vm = new AbstractWorkViewModel(abstractWork);

            this.AbstractWorks.Add(vm);
            OnPropertyChanged("AbstractWorks");
            CurrentAbstractWork = vm;
        }
Esempio n. 2
0
        private void AddAbstractWork()
        {
            var abstractWork = DefaultManager.Instance.DefaultAbstractWork;
            DataManager.Instance.AddAbstractWorkToAbstract(Model, abstractWork);

            var vm = new AbstractWorkViewModel(abstractWork);
            this.AbstractWorks.Add(vm);
            OnPropertyChanged("AbstractWorks");
            CurrentAbstractWork = vm;
        }