RPS.Screensaver.actionNext C# (CSharp) Méthode

actionNext() public méthode

public actionNext ( int step ) : void
step int
Résultat void
        public void actionNext(int step) {
            this.stopTimers();
            bool panoramaShownPreviously = this.monitors[0].isMonitor0PanoramaImage(false);
            for (int i = 0; i < this.monitors.Length; i++) {
                int firstStep = step;
                if (this.currentMonitor == CM_ALL || this.currentMonitor == i) {
                    this.monitors[i].timer.Stop();
                    string s = "";
                    if (step > 1) s = " x " + step;
                    this.monitors[i].showInfoOnMonitor(">>" + s);
                    this.monitors[i].nextImage(step, panoramaShownPreviously);
                    /*if (Utils.hasKeyMessage()) {
                        Console.WriteLine("Skip:" + i + " " + this.monitors[i].currentImage["path"]);
                        Console.Beep();
                        //this.monitors[i].showInfoOnMonitor(">>>" + s);
                    } else {
                        Console.WriteLine("Show:" + i + " " + this.monitors[i].currentImage["path"]);*/
                        this.monitors[i].showImage(this.config.getPersistantBool("useTransitionsOnInput"));
                    //}
                }
            }
            this.startTimers();
        }