int offset=0; int size=4096; progressBar.Maximum = int.MaxValue; progressBar.Minimum = 0; progressBar.Value = 0; offset += size; progressBar.Value = (int)(offset * (int.MaxValue / length));
progressBar,布布扣,bubuko.com
progressBar
原文:http://www.cnblogs.com/gaobing/p/3843936.html