/// <summary> /// 关闭所有弹窗 /// </summary> public void CloseAllDialog() { for (int i = 0; i < dialogList.Count; i++) { DialogView dialogView = dialogList[i]; if (dialogView != null) { dialogView.DestroyDialog(); } } dialogList.Clear(); }
/// <summary> /// 关闭所有弹窗 /// </summary> public void CloseAllDialog() { for (int i = 0; i < listDialog.Count; i++) { DialogView dialogView = listDialog[i]; if (dialogView != null) { dialogView.DestroyDialog(); } } listDialog.Clear(); }