this is the idea:I have 1 button on the form, and when I click the button very time, there would be some random number of labels appear on the form.
So, I was trying to show only 1 label, inside the button events, I created:
label1 = new System.Windows.Forms.Label();
label1.Location = new System.Drawing.Point(72, 120);
label1.Name = "label1";
label1.Size = new System.Drawing.Size(112, 32);
label1.TabIndex = 1;
label1.Text = "label1";
it could run,but I could't see the label when i clicked the button,
what is the problem or is that possible to do like this??