[Solved] Value of ‘10000’ is not valid for ‘Value’. ‘Value’ should be between ‘minimum’ and ‘maximum’. Parameter name: Value [closed]


Update I’m not sure if the answer below made sense before the question was edited. But it definitely looks pointless after :-).



It is a bit hard to say, but maybe swapping lines will help (and I guess there is no need for unchecked):

progressBar1.Maximum = Convert.ToInt32(e.MaximumProgress);
progressBar1.Value = Convert.ToInt32(e.CurrentProgress);

9

solved Value of ‘10000’ is not valid for ‘Value’. ‘Value’ should be between ‘minimum’ and ‘maximum’. Parameter name: Value [closed]