1int press = 0;
2 int dept=1;
3 this.repositoryItemProgressBar1.Maximum =100;
4 this.repositoryItemProgressBar1.Minimum = 0;
5 for (int i = 0; i < 100; i++)
6 {
7 this.barPress_Tree.EditValue = (press+=dept);
8 this.barPress_Tree.Refresh();
9 }
2 int dept=1;
3 this.repositoryItemProgressBar1.Maximum =100;
4 this.repositoryItemProgressBar1.Minimum = 0;
5 for (int i = 0; i < 100; i++)
6 {
7 this.barPress_Tree.EditValue = (press+=dept);
8 this.barPress_Tree.Refresh();
9 }