/* 重置信息 */ 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; }
/* 设置父节点 */ public void SetParentNotify(NotifyMark notify) { parentNode = notify; }