I have an MDIChild form that needs to show a dialog. I'm currently doing it like this from inside the mdichild form...
f.ShowDialog(Me)
Should I be using f.ShowDialog(mdiparent)
?
What is the difference when setting the owner before calling ShowDialog()
?
I'm not sure if this is related, but I've had some issues with passing the owning form in ShowDialog, I usually do this:
f.Owner = Me
f.ShowDialog()