Label uline = new Label(); uline.Visible = true; uline.BackColor = Color.Transparent; uline.Location = new Point(x, 400); uline.Font = new Font("Arial", 15); uline.Text = "____"; this.Controls.Add(uline);