Ejemplo n.º 1
0
            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();
            }