private void BuildMassTagPlots(MassTagsLoadedEventArgs e) { var view = new FeaturePlotView {MassTagsData = e}; GalleryImages.Insert(0, view); if (GalleryImages.Count > 10) { GalleryImages.RemoveAt(9); } }
/// <summary> /// Builds the alignment plot views. /// </summary> /// <param name="e"></param> private void BuildBaselineView(BaselineFeaturesLoadedEventArgs e) { // We dont care about the dataset if (e.DatasetInformation != null) { var view = new FeaturePlotView {BaselineData = e}; GalleryImages.Insert(0, view); if (GalleryImages.Count > 10) { GalleryImages.RemoveAt(0); } } }