public Slide(int nr, Note note, SavableSlide savableSlide) : this(nr, note) { Text = savableSlide.Text; if (savableSlide.Image != null) { image = savableSlide.Image; AddPdfImageControl(); } }
public void AddSlide(SavableSlide slide) { slidesList.Add(slide); }
public void AddSlideOnEnd(SavableSlide slide) { slidesList.Add(new Slide(slidesList.Count, this, slide)); panel.Children.Add(slidesList.Last().Grid); }