public QueueNode(ServiceQueue serviceQueue) { ServiceQueue = serviceQueue; ImageIndex = SelectedImageIndex = ServiceQueue.QueueType == ServiceQueueType.Error ? 2 : 1; if (ServiceQueue.UseJournal) Nodes.Add(new QueueNode(ServiceQueue.GetJournalQueue()) { ImageIndex = 3, SelectedImageIndex = 3}); UpdateData(); UpdateNodeText(); }