加载等待控件----------WinForm控件开发系列
/// <summary> /// 加载进度控件 /// </summary> [ToolboxItem( true )] [Description( " 加载进度控件 " )] [DefaultProperty( " Active " )] public partial class LoadProgressExt : Control { #region 属性 private LoadProgressType progressType = LoadProgressType.Line; /// <summary> /// 加载进度条类型 /// </summary> [Description( " 加载进度条类型 " )] [DefaultValue( typeof (LoadProgressType), " Line " )] public LoadProgressType ProgressType { get { return this .progressType; } set { if ( this .progressType == value) return ; this .progressType = value; if (value == LoadProgressType.Line || value == LoadProgressType.Dot) { this