Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public delegate int ProgressBarValue();
- public int ProgressBarValueFunction()
- {
- return Convert.ToInt32(rdby) * 100 / Convert.ToInt32(size);
- }
- progressBar2.Value = (int)this.Invoke(new ProgressBarValue(ProgressBarValueFunction));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement