public void AddItem(DashboardItem dashboardItem) { dashboardItem.Location = new Point(10, top); dashboardItem.Width = this.Width - 13; this.Controls.Add(dashboardItem); top += dashboardItem.Height; this.Height = top; }