I try to group dynamic shortcuts very close to each other, but when I do this and entering text in the shortcuts, they do not appear when I run my code. It shows nothing, as if it were not printed. I was wondering what I can do to group dynamic shortcuts next to each other.
1st dynamic shortcut created:
Label l = new Label();
System.Drawing.Point l0 = new System.Drawing.Point(15, 48 + z);
l.Location = l0;
l.Text = textReader.Value.ToString();
l.AutoSize = true;
l.MaximumSize = new Size(120, 50);
z+= 35;
2nd Dyanmic Label Created By:
System.Drawing.Point l1 = new System.Drawing.Point(65, 48 + x);
l2.Location = l1;
l2.Text = textReader.Value.ToString();
l2.AutoSize = true;
l2.MaximumSize = new Size(120, 50);
x += 35;
source
share