예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="IntegrationQueueTreeNode"/> class.
 /// </summary>
 /// <param name="value">The queue.</param>
 /// <param name="imageKeys">The keys to the images to use.</param>
 public IntegrationQueueTreeNode(Queue value, QueueImageKeys imageKeys)
     : base(value, value.Name)
 {
     Tag            = value.GetHashCode();
     queue          = value;
     this.imageKeys = imageKeys;
     UpdateImage();
     UpdateProjects();
     value.PropertyChanged += new PropertyChangedEventHandler(OnQueuePropertyChanged);
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProjectQueuesTreeNode"/> class.
 /// </summary>
 /// <param name="value">The underlying configuration.</param>
 /// <param name="imageKeys">The keys to the images to use.</param>
 public ProjectQueuesTreeNode(CruiseControl value, QueueImageKeys imageKeys)
     : base("Integration Queues")
 {
     this.configuration = value;
     this.imageKeys     = imageKeys;
 }