Starting the programming Add
1 Command Button to your form (named Command1).
Image
9:
This is how your control will look like.
Your control is the form and everything on it. We don't want
that the control will be a form with a button on it, we want that the
control will be a button only, without the form around him. So resize
the form to be at the size of the button exactly,
so you won't see the form.