Could someone help me correct my code trying to resize a panel?

Printable View