按钮点击将进度条应用于winform

时间:2010-11-27 11:10:29

标签: c# visual-studio winforms

任何人都可以指导我如何通过点击按钮在winform中应用不同的进度条

1 个答案:

答案 0 :(得分:3)

private void button1_Click(object sender, EventArgs e)
{
    ProgressBar p = new ProgressBar();
    p.Location = new Point(10, 10);
    p.Size = new Size(100, 30);
    this.Controls.Add(p);
}