Example #1
0
 /* 重置信息 */
 public void Reset()
 {
     parentNode     = null;
     SubNotifyCount = 0;
     ChangeNotify(false);
     _OnChange = null;
 }
        public void SetData(NotifyMark notify)
        {
            if (notify == null)
            {
                SetRedPoint(false);
                return;
            }

            Notify           = notify;
            Notify.OnChange += SetRedPoint;
        }
Example #3
0
 /* 设置父节点 */
 public void SetParentNotify(NotifyMark notify)
 {
     parentNode = notify;
 }