private void DisplayAnalysis(MultiAlignAnalysis analysis) { // Change the title var version = ApplicationUtility.GetEntryAssemblyData(); Title = string.Format("{0} - {1}", version, analysis.MetaData.AnalysisName); var model = new AnalysisViewModel(analysis); CurrentAnalysis = model; StateModerator.CurrentViewState = ViewState.AnalysisView; var recent = new RecentAnalysis(analysis.MetaData.AnalysisPath, analysis.MetaData.AnalysisName); GettingStartedViewModel.CurrentWorkspace.AddAnalysis(recent); }
private void DisplayAnalysis(MultiAlignAnalysis analysis) { // Change the title var version = ApplicationUtility.GetEntryAssemblyData(); Title = string.Format("{0} - {1}", version, analysis.MetaData.AnalysisName); var model = new AnalysisViewModel(analysis); CurrentAnalysis = model; StateModerator.CurrentViewState = ViewState.AnalysisView; var recent = new RecentAnalysis(analysis.MetaData.AnalysisPath, analysis.MetaData.AnalysisName); GettingStartedViewModel.CurrentWorkspace.AddAnalysis(recent); }