日期:2008-12-06 浏览次数:20635 次
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D ;
using System.Data;
using System.Windows.Forms;
namespace XiaoPang.Windows
{
/// <summary>
/// GProgressBar 的摘要说明。
/// </summary>
public class GProgressBar : System.Windows.Forms.UserControl
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
public GProgressBar()
{
// 该调用是 Windows.Forms 窗体设计器所必需的。
InitializeComponent();
base.Height = 23 ;
this.Resize+=new EventHandler(GProgressBar_Resize);
this.LocationChanged+=new EventHandler(GProgressBar_Resize);
}
private void GProgressBar_Resize(object sender,System.EventArgs e)
{
base.Refresh() ;
}
private int mMax =100;
[Browsable(true), Description("最大值"), Category("XiaoPang")]
public int Max
&nbs