[]
Occurs when animation is completed.
public event EventHandler AnimationCompleted
Type | Description |
---|---|
EventHandler | Occurs when animation is completed. |
The following code example shows how to use this event.
This code example is part of a larger example provided for the AnimationStartingEventArgs class.
class GcZoomAnimationDemo : Form
{
private GcZoom _gcZoom1 = new GcZoom();
public GcZoomAnimationDemo()
{
_gcZoom1.Target = this;
_gcZoom1.AnimationCompleted += _gcZoom1_AnimationCompleted;
}
void _gcZoom1_AnimationCompleted(object sender, EventArgs e)
{
Console.WriteLine("+++ _gcZoom1_AnimationCompleted +++");
}
}
Class GcZoomAnimationDemo
Inherits Form
Private _gcZoom1 As New GcZoom()
Public Sub New()
_gcZoom1.Target = Me
AddHandler _gcZoom1.AnimationCompleted, AddressOf _gcZoom1_AnimationCompleted
End Sub
Private Sub _gcZoom1_AnimationCompleted(sender As Object, e As EventArgs)
Console.WriteLine("+++ _gcZoom1_AnimationCompleted +++")
End Sub
End Class