Hello
bilalali
use this code.
Here Rename the Image name with Image1,Image2 so on...
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace imageslider
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
int i = 0;
private void Form1_Load(object sender, EventArgs e)
{
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
++i;
pictureBox1.Image =System.Drawing.Image.FromFile("F:/Sandeep/Wcf/imageslider/imageslider/Image/image"+i+".jpg");
if (i == 4)
{
i = 0;
}
}
}
}
NOTE
Set Interval Property of Timer control with 200 Miliseconds
Hope This Help You
Happy Coding