private void container_AddUserPressed(string username, object sender) { UserInfoContainer activeContainer = sender as UserInfoContainer; RequestContainer requestContainer = new RequestContainer(username, this.accountInfo.Id, activeContainer.UserId, this.socketHelper, this.accountInfo); requestContainer.Name = "controlRequestContainer_" + username; requestContainer.Location = new Point(pnlDashboard.Right, ((activeContainer.Top + activeContainer.Height / 2) - 10)); // Add the control and set it atop on all of the existing controls this.Controls.Add(requestContainer); requestContainer.BringToFront(); }