public void CloseCurrentPopUp() { if (popUps.Count == 0) { return; } AbsPopUp popUp = popUps.Pop(); popUp.ClosePopUP(); OpenCurrentPopUp(); }
public void ClearAllPopUP() { if (popUps.Count == 0) { return; } AbsPopUp popUp = popUps.Pop(); popUp.ClosePopUP(); popUps.Clear(); }