예제 #1
0
 private void FullScreenPlayActionsChanged(object sender, EventArgs e)
 {
     if (SupportSlideShow)
     {
         SlideShowTimer.Start();
     }
 }
예제 #2
0
 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();
 }
예제 #3
0
 private void MonitoreoZonaForm_Load(object sender, EventArgs e)
 {
     try
     {
         LoadSlideShows(zonasIdList[indexSlideShow]);
         SlideShowTimer.Start();
     }
     catch (ArgumentNullException ex)
     {
     }
 }
예제 #4
0
        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;
        }