I create as many dynamic labels as the user wants.
for (int j = 0; j < Nitelik_Counter; j++)
{
Label labeltest= new Label();
labeltest.Text = "N - " + j.ToString();
labeltest.TextAlign = ContentAlignment.MiddleCenter;
labeltest.Location = new Point(10 + j * 70, 10);
}
And I determine their text like "N+i.toString()" for default.
After that, I'm adding this to the form. I want to do is when the form is open and the user double-clicks one of the labels, a rename function will be open like in the Windows os, and when the user presses the enter it must be save. How do I do that?