Hi, I have a dilemma.
In the Code I am creating a new label every time the button is clicked. (Windows Form Application)
I would like to know how I can drag and drop this label around the form. Then click on the button again so it generates another label that I can drag and drop, so on and so on.
I can't seem to find any examples.
private void button1_Click(object sender, EventArgs e) { Label label = new Label(); label.BackColor = Color.Black; label.Location = new Point(30, 30); this.Controls.Add(label); }
Thanks