internal void invokeClose()
{
try {
} finally {
mPopup._form.Close();
mPopup._form = null;
if (mPopup._owner != null)
{
System.Windows.Forms.Form pForm = mPopup._owner.FindForm();
if (pForm != null)
{
pForm.RemoveOwnedForm(this);
}
}
else
{
if (mPopup._control != null)
{
System.Windows.Forms.Form pForm = mPopup._control.FindForm();
if (pForm != null)
{
pForm.RemoveOwnedForm(this);
}
}
}
}
}