Esempio n. 1
0
 internal void Clear()
 {
     Slides.Clear();
     ProjectVariables.Clear();
     SourceCode = "";
     slidenum   = 0;
 }
Esempio n. 2
0
 public void Clear()
 {
     Slides.Clear();
     AutoPlay = false;
     DwellTimeMilliseconds = 0;
     Loop = false;
 }
Esempio n. 3
0
        public void SyncSlideOrder(IEnumerable <string> slideNames)
        {
            var originalList = new List <Slide>(Slides);

            Slides.Clear();

            foreach (var slide in slideNames)
            {
                var originalSlide = originalList.SingleOrDefault(x => x.ArchiveEntryName.Equals(slide, StringComparison.OrdinalIgnoreCase));
                if (originalSlide != null)
                {
                    Slides.Add(originalSlide);
                }
            }
        }