method ScrollBar.EndUpdate ()
Resumes painting the control after painting is suspended by the BeginUpdate method.

TypeDescription
This method prevents the control from painting until the EndUpdate method is called. The BeginUpdate and EndUpdate methods increases the speed of making your changes, by preventing painting the control when it suffers any change. Once that BeginUpdate method was called, you have to make sure that EndUpdate method will be called too.