ClientHeight and Height of a form updates when setting form to visible On creation of a Form, I am setting MyPanel to not be visible: