新手学c#帮忙找下这段代码的问题!!!
窗体中有个label1,progressBar1,Button1代码如下
private void button1_Click(object sender,EventArgs e)
{
progressBar1.Maximum=100;
progressBar1.Manimum=1;
progeessBar1.Step=1;
for(int i=1;i<=100;i++)
{
label1.Text=i.ToString()+"/100";
progreeBar1.PerformStep();
}
}
为什么标签上的数从0/100直接就变成了100/100???????