void CollapseForm () { Size = new Size (Width, Height - OptionsPanel.Height); OptionsPanel.Visible = false; bFormExpanded = false; }