Пример #1
0
        public RunningJobCollectionNode(SPRunningJobCollection collection)
        {
            this.Text = SPMLocalization.GetString("RunningJobs_Text");
            this.ToolTipText = SPMLocalization.GetString("RunningJobs_ToolTip");
            this.Name = "Running jobs";
            this.Tag = collection;
            this.SPParent = collection.Parent;

            int index = Program.Window.Explorer.AddImage(this.ImageUrl());
            this.ImageIndex = index;
            this.SelectedImageIndex = index;

            this.Nodes.Add(new ExplorerNodeBase("Dummy"));
        }
Пример #2
0
        public RunningJobCollectionNode(SPRunningJobCollection collection)
        {
            this.Text        = SPMLocalization.GetString("RunningJobs_Text");
            this.ToolTipText = SPMLocalization.GetString("RunningJobs_ToolTip");
            this.Name        = "Running jobs";
            this.Tag         = collection;
            this.SPParent    = collection.Parent;

            int index = Program.Window.Explorer.AddImage(this.ImageUrl());

            this.ImageIndex         = index;
            this.SelectedImageIndex = index;

            this.Nodes.Add(new ExplorerNodeBase("Dummy"));
        }