PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Generating a modal form from a MDI child form

Reply

Generating a modal form from a MDI child form

 
Thread Tools Rate Thread
Old 11-01-2007, 05:01 PM   #1
Garry
Guest
 
Posts: n/a
Default Generating a modal form from a MDI child form


I am trying to display a simple modal form from a button on a displayed MDI
child form toolstrip.

Does anyone have some simple sample code example to send me.

Will be much appreciated.


  Reply With Quote
Old 15-01-2007, 03:48 AM   #2
Bryan Phillips
Guest
 
Posts: n/a
Default Re: Generating a modal form from a MDI child form

Does this code not work?

SomeForm frm = new SomeForm();
frm.ShowDialog(this);

--
Bryan Phillips
MCSD, MCDBA, MCSE
Blog: http://bphillips76.spaces.live.com



"Garry" <garrygrolman@gmail.com> wrote in message
news:OIm0lIaNHHA.3596@TK2MSFTNGP02.phx.gbl:

> I am trying to display a simple modal form from a button on a displayed MDI
> child form toolstrip.
>
> Does anyone have some simple sample code example to send me.
>
> Will be much appreciated.


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off