Esempio n. 1
0
        protected virtual void OnVisibleChanged(IssueGroupEventArgs eventArgs)
        {
            var handler = visibleChanged;

            if (handler != null)
            {
                handler(this, eventArgs);
            }
        }
Esempio n. 2
0
        protected virtual void OnChildrenInvalidated(IssueGroupEventArgs eventArgs)
        {
            var handler = childrenInvalidated;

            if (handler != null)
            {
                handler(this, eventArgs);
            }
        }
Esempio n. 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));
     }
 }
Esempio n. 4
0
		protected virtual void OnVisibleChanged (IssueGroupEventArgs eventArgs)
		{
			var handler = visibleChanged;
			if (handler != null) {
				handler (this, eventArgs);
			}
		}
Esempio n. 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));
			}
		}
Esempio n. 6
0
		protected virtual void OnChildrenInvalidated (IssueGroupEventArgs eventArgs)
		{
			var handler = childrenInvalidated;
			if (handler != null) {
				handler (this, eventArgs);
			}
		}