Hi all,
I have made a MDI application.Let's say FrmSession and FrmProperties.I
want to create something like Photoshop.There are allways many
instances of FrmSession but at each there is only one instance of
FrmProperties.But the problem:
Every time the user makes a new session i create a new instance of
FrmSession in my method - let's say NewSession - and then i call
FrmProperties.Show() .
private void NewSession()
{
FrmSession newsession = new FrmSession();
myfrmproperties.Show(); // has been created it elesewhere & there
is only one insance of it
}
but the problem shows itself here.If the user closees the
FrmProperties; then the next time myfrmproperties.Show does not show
the form on the screen.I have checked if it has been nulled but debuger
says there is one intance.what is wrong with my code?