HeaderPane
Main
Hide
Share Link
Print

Animations Sample (C#)

This sample illustrates AVI animations with AVIPlay method.

The source code is located at C:\Program Files (x86)\Softelvdm\SftButton OCX 4.0\Samples\Visual Studio - CSharp\Animations\Form1.cs or C:\Program Files\Softelvdm\SftButton OCX 4.0\Samples\Visual Studio - CSharp\Animations\Form1.cs (on 32-bit Windows versions).

private void button1_Click(object sender, System.EventArgs e)
{
    Application.Exit();
}

private void Form1_Load(object sender, System.EventArgs e)
{
    // Define all animations at run-time using the AVIPlay method
    axSftButtonSearch.AVIPlay(1, System.IO.Path.Combine(Application.StartupPath, "Search.avi"), 0, -1);
    axSftButtonFind.AVIPlay(1, System.IO.Path.Combine(Application.StartupPath, "FindComp.avi"), 0, -1);
    axSftButtonDownload.AVIPlay(1, System.IO.Path.Combine(Application.StartupPath, "Download.avi"), 0, -1);
}

Last Updated 09/26/2026 - (email)
© 2026 Softel vdm, Inc.