Inheritance: MVVMUndoRedo.DlgViewModelBase
Esempio n. 1
0
        public VMAgenda(Agenda model)
        {
            _project                   = new UIProject();
            _agenda                    = model;
            InsertPersonDialog         = new VMInsertPerson(this);
            InsertPersonDialog.Visible = Visibility.Collapsed;


            _personsLists = new MirrorList <VMPerson, Person>(_agenda.Persons, this);
            _personsLists.SubmitUndoItem +=
                new SubmitUndoItemCollectionChanged(ComandoComponentChanged);
        }
Esempio n. 2
0
 public InsertPersonCommand(VMInsertPerson insertPersonView)
     : base(ApplicationCommands.New)
 {
     this._insertPersonView = insertPersonView;
 }
Esempio n. 3
0
 public InsertPersonCommand(VMInsertPerson insertPersonView)
     : base(ApplicationCommands.New)
 {
     this._insertPersonView = insertPersonView;
 }