예제 #1
0
        //隐藏单个窗体
        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);
        }
예제 #2
0
 public void ReturnUI(UIid beforUIid)
 {
     ShowUI(beforUIid, false);
 }