Just put a button on the form using the design view and see the code generated and copy that code and that would do the job for you to create the button and place it on form dynamically.