Inheritance: MVVMUndoRedo.DlgViewModelBase
Exemplo 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);
        }
Exemplo n.º 2
0
 public InsertPersonCommand(VMInsertPerson insertPersonView)
     : base(ApplicationCommands.New)
 {
     this._insertPersonView = insertPersonView;
 }
Exemplo n.º 3
0
 public InsertPersonCommand(VMInsertPerson insertPersonView)
     : base(ApplicationCommands.New)
 {
     this._insertPersonView = insertPersonView;
 }