Rousseau Sennett

Rousseau Sennett

  • NA
  • 31
  • 43.1k

Display Dialog in MDI Container

Nov 1 2011 10:49 AM
Hi

Most of my applications is mdi container based and I have been stuck on this one for a while. I would like to display my dialogs in the mdi container.

I'm using c#

ex. Form f = new Form();
f.mdiParrent = this;
f.ShowDialog();

will through an exception. I first thought was to just disable all the mdiParrent's children but that won't work because I want all processing to stop and w8
for the response from the user before continuing because my processing will depend on the users response in the dialog (Like classic dialog).

Any help will be appriciated.

Thx
Rousseau

Answers (3)