0

Add controls position (C#)

I have a question, I need to have several controls automatically created and add their position, for example: Button b1 = new Button (); I would need to create several "b1" and that each of these sume its position x by 200 to the previous one, that is: b1 would have the position X 200, b2 would have 400, b3 600 and so, only that I suppose it should be an operation like addition or multiplication, since they are an undefined or variable number of "b1".

16th May 2018, 2:28 AM
SebGM2018
SebGM2018 - avatar
1 Answer