Dim y As New System.Guid Dim x As Drawing.Imaging.FrameDimension = New Drawing.Imaging.FrameDimension(y) y = PictureBox1.Image.FrameDimensionsList(0) Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick If PictureBox1.Image.SelectActiveFrame(x, 0) = 19 Then PictureBox1.Enabled = False Timer1.Stop() End If End Sub
PictureBox
ImageAnimator
System.Drawing
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)