5
Answers

opening and closing forms

j_sen21

j_sen21

17y
3.1k
1

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)