Tag Archives: add controls

Create controls at runtime and add them to a form or inside a container in C#

This example shows how to create controls at runtime and place them either directly on the form or inside a container. When you click the example’s Create Button button, the following code creates a new button on the form. private … Continue reading

Posted in controls | Tagged , , , , , , , | Leave a comment