[Solved] C# Generating Labels [closed]


public static Label MakeNewLabel()
{
   Label myLabel = new Label();
   myLabel.Name = "myLabelName";
   myLabel.Text = "";
   myLabel.Location = new Point(13, min_char + 3);
   myLabel.Visible = true;
   return myLabel;
}


this.Controls.Add(MakeNewLabel());

Try the above

0

solved C# Generating Labels [closed]