Image slide show using Dot Net, visual studio & C#

I have provided source code to form image slide using Dot Net , visual studio, and c#.

You can find image here: Icon Archive

                                                           Functions of this projects

  • After 1 second N number of Images slides show automatically.

Toolbox uses

  • Image Lists
  • Picture Box
  • Timer

Source Code


using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;

namespace myImageSlideShow

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }

        int count = 0; // counter initialization

        private void timer_Tick(object sender, EventArgs e)

        {

            if (count < 7) // No of images = 7

            {

                pictureBox1.Image = imageList1.Images[count];

                count++;

            }

            else

            {

                count = 0; // reset counter 

            }

        }

    }

}


The output of the code

You might want to read this article..

How to write a slide presentation for BCA project

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: