public void DestroyForm(IUIForm form) { CloseForm(form); m_Forms.Remove(form); form.OnBeforeDestroy(); m_Creater.DestroyForm(form); }