I have a function in a module that iterates through a large chunk of code. I have a progress bar on one of the windows forms that I would like to update when this function is called, but I don't know how to access the properties of the progress bar in order to update the value of it.

How can I access a progress bar from a form in a module?