I have 2 winforms, one (call it Form1) contains a background worker, and that form opens a second form (Form2). Form1 starts a background worker, and while its working opens Form2 so the user can do something else. When the user is done on Form2 and clicks submit, I want to check if Form1's background worker is done and if it isn't pop a message asking the user to wait a minute, else allow the Form2 submit.
How can I check the status of Form1's background worker from Form2? I looked at this post Check to see if a thread in another form is still running , but my situation is different and I'm not sure how to adapt.