公司的一个进度条,你自己看看吧
using System;
using System.Collections;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using System.Threading;
namespace SM2560L
{
/// <summary>
/// movingbar 的摘要说明。
/// </summary>
public class MovingBar : System.Windows.Forms.UserControl
{
/// <summary>
/// 必需的设计器变量。
/// </summary>
private System.ComponentModel.Container components = null;
private System.Windows.Forms.Label box;
private Thread movebar;
public int xx=1;
public MovingBar()
{
// 该调用是 Windows.Forms 窗体设计器所必需的。
InitializeComponent();