using System; using System.Windows.Forms; namespace WaitCursor //The namespace name is not important. { //Inherit from IDisposable if you need Basic4ppc to free resources when the application is closed. public class WaitCursor { //At least one public ctor. public WaitCursor() { } public double DLLVersion { get {return 1;} } //Use properties to allow syntax like: bar.Height = 50 OR x = bar.Height //The Control property returns the real control. public bool State { set { if ( value == true) { Cursor.Current = Cursors.WaitCursor;} else { Cursor.Current = Cursors.Default;} } } } }