lixiaojun
2025-04-09 0f99680aff09e91f521b5909aab42811c1c3e6f1
WinFrmUI/Yw.WinFrmUI.Core/06-document/DocumentPage.cs
@@ -117,11 +117,6 @@
        public event Action<PageGuid> ClosePageEvent;
        /// <summary>
        /// 重置所有Page事件
        /// </summary>
        public event Action ResetAllPagesEvent;
        /// <summary>
        /// 关闭page
        /// </summary>
        /// <param name="sguid"></param>
@@ -147,16 +142,24 @@
        {
        }
        protected void ResetAllPages()
        /// <summary>
        /// 权限验证
        /// </summary>
        public virtual void VerifyAuth()
        {
            this.ResetAllPagesEvent?.Invoke();
        }
        /// <summary>
        /// 页面拥有的权限树
        /// </summary>
        public PageAuthHaveTree AuthTree { get; set; }
        /// <summary>
        /// 刷新数据
        /// </summary>
        public virtual void RefreshData()
        {
        }
        /// <summary>
@@ -187,6 +190,7 @@
        /// </summary>
        public virtual void RegistEvents()
        {
        }
        /// <summary>
@@ -194,6 +198,7 @@
        /// </summary>
        public virtual void UnRegistEvents()
        {
        }
    }
}