By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
There's no direct way to check if a particular form is loaded. One way to solve the problem is to create a static property in the form class and set that static variable to true when you load the form and when you close the form, set it to false. Of course you'll have to handle the Loaded and Closed events to properly set the static variable. If you want to get the instances of the loaded forms, you could have a static array that you add and remove form instances to, you could do that as well.
Dig Deeper on Win Development Resources
Related Q&A from John Robbins
What is a JAD session? This term is referred to often in job postings and seems like some kind of brainstorm you carry out with a client to define IT... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.