PleaseWait.cs

00001 using System;
00002 using System.Collections.Generic;
00003 using System.ComponentModel;
00004 using System.Drawing;
00005 using System.Data;
00006 using System.Text;
00007 using System.Windows.Forms;
00008 
00012 namespace SimpleControls
00013 {
00018     public partial class PleaseWait : UserControl
00019     {
00023         public PleaseWait()
00024         {
00025             InitializeComponent();
00026         }
00027 
00031         [
00032             TypeConverter(typeof(PleaseWait)),
00033             Category("Appearance"),
00034             Description("Wether or not you wish the animation to be enabled")
00035         ]
00036         public bool DoStuff
00037         {
00038             get { return dsThrobber.DoStuff; }
00039             set { dsThrobber.DoStuff = value; }
00040         }
00041 
00045         public void Begin()
00046         {
00047             this.Visible = true;
00048             dsThrobber.Begin();
00049         }
00050 
00054         public void End()
00055         {
00056             this.Visible = false;
00057             dsThrobber.End();
00058         }
00059     }
00060 }

Generated on Thu Dec 21 06:21:56 2006 for SCRAML by  doxygen 1.5.1-p1