Add control elements to form and new methods to class Form1.