this is the code that causes problems :
Expand|Select|Wrap|Line Numbers
- private void btnPlay_Click(object sender, EventArgs e)
- {
- for (int a = 0; a < iAmountOfImages; a++)
- {
- pbSlideshow.SizeMode = PictureBoxSizeMode.Zoom;
- pbSlideshow.Image = new Bitmap(sImage[a]);
- System.Threading.Thread.Sleep(2000);
- }
- }