InfoForm.cs: move code around