Beispiel #1
0
    public bool NextSlide()
    {
        if (slideIndex + 1 <= slides.Count - 1)
        {
            lastSlide.Deactivate();
            slideIndex++;

            lastSlide = slides[slideIndex];
            lastSlide.Activate();

            return(true);
        }

        return(false);
    }