public static void FillToBottom(this Control control, int offset = 0) { if (control.Parent == null) return; control.Height = control.Parent.Height - control.Location.Y - offset; }