public bool destoryDialog(string dlgName) { NvUIDialogBase dlg = findDialog(dlgName); if (dlg != null) { dlg.destroyDialog(); //m_dialogChain.Remove( dlgName ); return(true); } return(false); }
public void DestroyDialog(NvUIDialogBase dlg) { if (dlg != null) { foreach (KeyValuePair <string, NvUIDialogBase> kv in mDialogTable) { if (kv.Value == dlg) { dlg.destroyDialog(); mDialogTable.Remove(kv.Key); break; } } } }
public void DestroyDialog( NvUIDialogBase dlg ) { if ( dlg != null ) { foreach ( KeyValuePair< string, NvUIDialogBase > kv in mDialogTable ) { if ( kv.Value == dlg ) { dlg.destroyDialog(); mDialogTable.Remove( kv.Key ); break; } } } }