public void AddGrid(System.Object[] CustomObject) { PSObjectGrid pgrid = new PSObjectGrid(CustomObject); pgrid.ParentStrip = tbTools; this.Controls.Add(pgrid); this.Controls.SetChildIndex(pgrid, 0); }