Two Showdialog bug?

F

Fabrizio

I'm developing an application (Compact Framework and Windows Mobile SE) with
one main form, from this I call ShowDialog of another form and from this
second form i call ShowDialog of another one?
When I close this the second form is dispose!!!
Why??

The second question is can I show a dialog form that doesn't fill the
screen?
 
S

Saverio Tedeschi

Hi Fabrizio,
1)if you call a form and then a second one, then close the second, the
control returns to the first and if you don't manage a loop the app exits.
2)AFAIK the only way is to have No Border, so you can control the size.
HTH. Ciao.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top