public MfVaultViewModel(DesignCloudViewModel parent, ProjectDto project) { _parent = parent; Id = project.Id.ToString(); Project = project; DisplayName = project.Name; _goback = new RelayCommand(obj => { if (BrowserView != null) { BrowserView.GoBack(); } }); _goforward = new RelayCommand(obj => { if (BrowserView != null) { BrowserView.GoForward(); } }); _searchCmd = new RelayCommand(_ => SearchOp()); }
private void navForward_Click(object sender, EventArgs e) { BrowserView.GoForward(); }