﻿Public Class Form1

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        End
    End Sub
    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Static IM
        IM = IM + 1
        PictureBox1.Image = ImageList1.Images(IM)
        If IM = 1 Then
            IM = -1
        End If
    End Sub

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        ImageList1.ColorDepth = ColorDepth.Depth32Bit

    End Sub
End Class
