I have a main form with a class level WaitWindow that methods on the form can show, hide, update whatever. This form makes several calls to a class that performs a lot of data manipulation. Some of these take a long time, so I decided updating the WaitWindow would be nice to let the user know something is going on.
My declaration of the WaitWindow on the form.
Here is my method to Update that WaitWindow
And on my class that does the data manipulation, I added this delegate
And I added a Reference to the main Form to call UpdateWaitWindow on
Now should I be able to call this UpdateWaitWindow by simply ?
loForm.Invoke(