Change method of a form (form through a class).