public EdataFileViewModel(EdataManagerViewModel parentVm) { _parentVm = parentVm; CloseCommand = new ActionCommand((x) => ParentVm.CloseFile(this)); DetailsCommand = new ActionCommand(DetailsExecute); }
public EdataFileViewModel(EdataManagerViewModel parentVm) { _parentVm = parentVm; CloseCommand = new ActionCommand((x) => ParentVm.CloseFile(this)); DetailsCommand = new ActionCommand(DetailsExecute); AddRowCommand = new ActionCommand(AddRowExecute); }
protected override void OnStartup(StartupEventArgs e) { base.OnStartup(e); var mainVm = new EdataManagerViewModel(); DialogProvider.ProvideView(mainVm); //var versionVm = new VersionManagerViewModel(mainVm); //DialogProvider.ProvideView(versionVm); }
public VersionManagerViewModel(EdataManagerViewModel edataManagerViewModel) { EdataManagerViewModel = edataManagerViewModel; Initialize(); }