Exemple #1
0
 /// <summary>
 /// 设置禁用事件绑定
 /// </summary>
 protected void SetDisableEvent()
 {
     _isDisableEvent = true;
     if (_itemEvent != null)
     {
         ItemEvent.Dispose();
         _itemEvent = null;
     }
     if (_childrenEvent != null)
     {
         ChildrenEvent.Dispose();
         _childrenEvent = null;
     }
 }