I have a windows form, and it seems that I can use either Show or
ShowDialog to get it displayed. I wish to know the difference between
the two methods. Thanks!
I have a windows form, and it seems that I can use either Show or
ShowDialog to get it displayed. I wish to know the difference between
the two methods. Thanks!
if you show your form with show, it will put it on the screen and then
program will continue on the next line as for showdialog will put it on the
screen and wait for a close command.
It's the difference between a modal and modeless form.
2 second google gave me:
http://msdn.microsoft.com/en-us/libr...dh(VS.80).aspx
gr,
Eric
"Curious" <fir5tsight@xxxxxx> schreef in bericht
news:d7a76bae-ca78-42d7-b530-a641a6a2d48c@xxxxxx
>I have a windows form, and it seems that I can use either Show or
> ShowDialog to get it displayed. I wish to know the difference between
> the two methods. Thanks!
Hi Eric,
Thanks! This info is useful.
| Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| show desktop doesn't show gadgets | kerry | Vista General | 9 | 08 Dec 2008 |
| Windows Forms without ShowDialog? | SeanInSeattle | PowerShell | 0 | 28 Aug 2008 |
| What is the difference | Torben Broendum | Vista music pictures video | 0 | 23 Mar 2007 |
| What is the difference? | Travis | Vista General | 14 | 19 Mar 2007 |
| ShowDialog vs. Application.Run | Greg Borota | PowerShell | 12 | 07 Jul 2006 |