j_sen21

j_sen21

  • NA
  • 57
  • 0

opening and closing forms

Aug 13 2007 3:06 PM

Hello,

I can not get the second form to completly close.

On form 1, I perform

if (m_FrmIdentify == null)

{

nFrmIdentify = new frmIdentify();

}

if (m_FrmIdentify.Visible == true)

{

FrmIdentify.Loadss();

}

else

{

mFrmIdentify.Show();

}

In form 2, on close

I tried callinig this.close() and this.hide(); Neiter of which make the call above mFrmIdentify == null

so that I can reopen the same form again.

THanks.


Answers (5)