Hide

SftButton/OCX 3.0 - Button Control

Display
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 3.0\Samples\Visual Studio - CSharp\Animations\Form1.cs or C:\Program Files\Softelvdm\SftButton OCX 3.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, "..\\Search.avi", 0, -1);
    axSftButtonFind.AVIPlay(1, "..\\FindComp.avi", 0, -1);
    axSftButtonDownload.AVIPlay(1, "..\\Download.avi", 0, -1);
}

Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.