首页 > 代码库 > progressBar

progressBar

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));