c# WinForm进度条源码实例 private void btnAdd_Click(object sender, EventArgs e) { //设置progressBar属性 Maximum=10 Minimun=0 if (progressBar1.Value