Retrieves the form that this control is on.
public Form getForm()
Returns a Form object that represents the form that contains this control.
The parent for a control is not necessarily the form. For example, the parent for a radio button in a group box is the group box, not the form that contains the radio button.