void ItemsHVAction_Triggered(object sender, MMC.SyncActionEventArgs e)
        {
            frmItemsHierarchyView frm = new frmItemsHierarchyView();

            frm.applications = new IAzManApplication[] { this.application };
            this.SnapIn.Console.ShowDialog(frm);
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="T:ptItemsHierarchy"/> class.
 /// </summary>
 public ptItemsHierarchy()
 {
     this.applications      = new IAzManApplication[0];
     this.Title             = Globalization.MultilanguageResource.GetString("frmItemsHierarchyView_lblInfo.Text");
     this.TopIcon           = Properties.Resources.Hierarchy_32x32;
     this.alreadyPrinted    = new List <object>();
     this.frm               = new frmItemsHierarchyView();
     this.linePen           = new Pen(Brushes.Black, 1F);
     this.linePen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
 }
        void ItemsHVAction_Triggered(object sender, MMC.SyncActionEventArgs e)
        {
            IAzManApplication[] applications = new IAzManApplication[this.SelectedNodes.Count];
            int index = 0;

            foreach (ApplicationScopeNode applicationScopeNode in this.SelectedNodes)
            {
                applications[index++] = applicationScopeNode.Application;
            }
            frmItemsHierarchyView frm = new frmItemsHierarchyView();

            frm.applications = applications;
            this.SnapIn.Console.ShowDialog(frm);
        }