public bool NextSlide() { if (slideIndex + 1 <= slides.Count - 1) { lastSlide.Deactivate(); slideIndex++; lastSlide = slides[slideIndex]; lastSlide.Activate(); return(true); } return(false); }
public bool NextSlide() { if (slideIndex + 1 <= slides.Count - 1) { lastSlide.Deactivate(); slideIndex++; lastSlide = slides[slideIndex]; lastSlide.Activate(); return(true); } return(false); }