Пример #1
0
        protected virtual void OnVisibleChanged(IssueGroupEventArgs eventArgs)
        {
            var handler = visibleChanged;

            if (handler != null)
            {
                handler(this, eventArgs);
            }
        }
Пример #2
0
        protected virtual void OnChildrenInvalidated(IssueGroupEventArgs eventArgs)
        {
            var handler = childrenInvalidated;

            if (handler != null)
            {
                handler(this, eventArgs);
            }
        }
Пример #3
0
 void HandleVisibleChanged(object sender, IssueGroupEventArgs e)
 {
     lock (_lock) {
         var visibleChildren = children.Any(child => child.Visible);
         if ((e.Node.Visible && visibleChildren) || (!e.Node.Visible && !visibleChildren))
         {
             OnVisibleChanged(new IssueGroupEventArgs(this));
         }
         OnTextChanged(new IssueGroupEventArgs(this));
     }
 }
Пример #4
0
		protected virtual void OnVisibleChanged (IssueGroupEventArgs eventArgs)
		{
			var handler = visibleChanged;
			if (handler != null) {
				handler (this, eventArgs);
			}
		}
Пример #5
0
		void HandleVisibleChanged (object sender, IssueGroupEventArgs e)
		{
			lock (_lock) {
				var visibleChildren = children.Any (child => child.Visible);
				if ((e.Node.Visible && visibleChildren) || (!e.Node.Visible && !visibleChildren)) {
					OnVisibleChanged (new IssueGroupEventArgs (this));
				}
				OnTextChanged (new IssueGroupEventArgs (this));
			}
		}
Пример #6
0
		protected virtual void OnChildrenInvalidated (IssueGroupEventArgs eventArgs)
		{
			var handler = childrenInvalidated;
			if (handler != null) {
				handler (this, eventArgs);
			}
		}