//隐藏单个窗体 public void HideTheUI(UIid UiId, DelAfterHideUI del) { if (!dicShowUI.ContainsKey(UiId)) { return; } if (del != null) { //执行委托里面的方法 dicShowUI[UiId].HideUI(del); // dicShowUI.Remove(UiId); } else { dicShowUI[UiId].HideUI(null); //dicShowUI.Remove(UiId); } dicShowUI.Remove(UiId); }
public void ReturnUI(UIid beforUIid) { ShowUI(beforUIid, false); }