Creation of a custom control