private void FullScreenPlayActionsChanged(object sender, EventArgs e) { if (SupportSlideShow) { SlideShowTimer.Start(); } }
private void numericUpDown1_ValueChanged(object sender, EventArgs e) { Properties.Settings.Default.SlideShowTime = Convert.ToInt32(numericUpDown1.Value); Properties.Settings.Default.Save(); SlideShowTimer.Stop(); SlideShowTimer.Interval = Convert.ToInt32(numericUpDown1.Value) * 1000; SlideShowTimer.Start(); }
private void MonitoreoZonaForm_Load(object sender, EventArgs e) { try { LoadSlideShows(zonasIdList[indexSlideShow]); SlideShowTimer.Start(); } catch (ArgumentNullException ex) { } }
private void pausePlay_btn_Click(object sender, EventArgs e) { if (Play) { pausePlay_btn.Image = Properties.Resources.play_3_24; SlideShowTimer.Stop(); next_btn.Enabled = true; previous_btn.Enabled = true; } else { pausePlay_btn.Image = Properties.Resources.pause_24; SlideShowTimer.Start(); next_btn.Enabled = false; previous_btn.Enabled = false; } Play = !Play; }