Hi is there a way of adding controls to a form at runtime. Example if you decide you want 2 buttons you can create them in your code, or if you want 20 you can do the same. The only way I have thought of so far is to have 20 buttons on the form and if you only want 2 making the other 18 invisible.

Thanks