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); }
public InsertPersonCommand(VMInsertPerson insertPersonView) : base(ApplicationCommands.New) { this._insertPersonView = insertPersonView; }