continues-images
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form3 : Form
{
public Form3()
{
InitializeComponent();
}
int i = 0;
private void timer1_Tick(object sender, EventArgs e)
{
if (i < imageList1.Images.Count)
{
pictureBox1.Image = imageList1.Images[i];
i++;
progressBar1.Value += (100 / imageList1.Images.Count);
}
else
{
timer1.Stop();
}
}
}
}
Category: