Hi all,
I have created one mdi parent form and several mdi child forms. My question is when i click on open a mdi child form
this happening
if a mdi child already opened i want to focus on that backCode:if (frmKlantenbeheer.alreadyopen== false) //to check if form already open { frmKlantenbeheer form1 = new frmKlantenbeheer(); form1.MdiParent = this; form1.Show(); } else //if already open then focus that form { frmKlantenbeheer.ActiveForm.Activate(); frmKlantenbeheer.ActiveForm.BringToFront(); }
so this part doesn't work
Could anyone help me for thisCode:else //if already open then focus that form { frmKlantenbeheer.ActiveForm.Activate(); frmKlantenbeheer.ActiveForm.BringToFront(); }[/
already thanks
bye




Reply With Quote