S
Stefano
Dear Friends,
i have a project where a form named Form1 call another form named
Form2.
In a button of Form1 i call Form2.Show() and all works.
In the Closing events of Form2 i have insert this two lines of code:
Visible = false;
e.Cancel = true;
so that i DON'T close really the form but only hide it.
The strange happened when i call Form2.Show() again.
The Form2 go visible but apparently disabled.
i have the title bar grayed, i cannot click any button inside it, i
cannot click the close and the restore butto, but I CAN DOUBLE-CLICK
the title bar and the forms go maximized, i can CLICK on title bar and
move the form and i can CLOSE it via program bar.
In .NET 1.0 all works FINE !!!
in .NET 1.1 i have this behaviour
Could someone help me?
Thanks a lot
Stefano
i have a project where a form named Form1 call another form named
Form2.
In a button of Form1 i call Form2.Show() and all works.
In the Closing events of Form2 i have insert this two lines of code:
Visible = false;
e.Cancel = true;
so that i DON'T close really the form but only hide it.
The strange happened when i call Form2.Show() again.
The Form2 go visible but apparently disabled.
i have the title bar grayed, i cannot click any button inside it, i
cannot click the close and the restore butto, but I CAN DOUBLE-CLICK
the title bar and the forms go maximized, i can CLICK on title bar and
move the form and i can CLOSE it via program bar.
In .NET 1.0 all works FINE !!!
in .NET 1.1 i have this behaviour
Could someone help me?
Thanks a lot
Stefano