How, being inside the main form of my WinForm app can I tell if there are any modal windows/dialogs open that belong to the main form?
if (this.Visible && !this.CanFocus) { // modal child windows are open }
2.1m questions
2.1m answers
60 comments
56.9k users