MDI and ShowDialog()

Steve Abaffy <[email protected]> Thu, 13 Dec 2007 18:25:13 -0600
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <03ae01c83de7$cb3d21a0$61b764e0$@biz>
After considerable research I cannot find a way to open a form using
ShowDialog() within a MDI parent.

SomeForm SF = new SomeForm(parameters);
SF.MdiParent = MdiParent;
SF.ShowDialog(); - Blows up here with an exception thrown.
Do More Stuff here after form closes

All I have read says that this cannot be done, but I don't believe that.

Any help would be appreciated.

Thanks.