That's ok but why the form is hidden ONLY if I set its ControlBox
property
to false??
And why any event fired makes the form disappear??

I try to explain my problem better...

if i set ControlBox property to true (default value) my form is
showed modal and I'able to work on it. I can click its buttons,
blurring fields and all events fired works well.

Problems start when this property is set to false, and the closing
button on the top bar is removed from view. I could not do anything.
When the first event is fired the form (that should be modal as the
first case) disappear... and the code flows after the modal call.

I cannot explain this behavior.
It's a bug? Its right? But if it's right, why happens?


Thank you

--- In [EMAIL PROTECTED], <[EMAIL PROTECTED]> wrote:
> This behavior is by design. The form is hidden but not destroyed.
Its close event did *not* fire. You will have to call Dispose on the
form.
>
> kevin aubuchon
>
> >
> > From: "overlo4ded" <[EMAIL PROTECTED]>
> > Date: 2004/10/27 Wed AM 10:22:53 GMT
> > To: [EMAIL PROTECTED]
> > Subject: [C#.NET] ShowDialog() and ControlBox property
> >
> >
>
>
> [Non-text portions of this message have been removed]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=315388.5529720.6602079.3001176/D=groups/S=:HM/A=2372354/rand=811192916


Yahoo! Groups Links

Reply via email to