Applied style to the form.