Beispiel #1
0
 private void RemoveFormOnCloseList(UIFormBase formBase)
 {
     if (closeUIFormList.Contains(formBase))
     {
         closeUIFormList.Remove(formBase);
     }
 }
Beispiel #2
0
 private void AddFormOnCloseList(UIFormBase formBase)
 {
     if (!closeUIFormList.Contains(formBase) && !formBase.IsLook)
     {
         closeUIFormList.AddLast(formBase);
     }
 }
Beispiel #3
0
 /// <summary>
 /// 关闭UI窗体(根据UIFormBase)
 /// </summary>
 /// <param name="formBase"></param>
 internal void CloseUIForm(UIFormBase formBase)
 {
     formBase.ToClose();
     AddFormOnCloseList(formBase);
 }
Beispiel #4
0
 /// <summary>
 /// 关闭UI窗体(根据UIFormBase)
 /// </summary>
 /// <param name="formBase"></param>
 public void CloseUIForm(UIFormBase formBase)
 {
     m_UIManager.CloseUIForm(formBase);
 }