Is this a bug?Window maxmize and resized event not effected

Resized event:

TabPanel1.Width=me.Width
TabPanel1.Height=me.Height

when window resize, the sub controller only change the width,never the height.

and Maximize event

TabPanel1.Width=me.Width
TabPanel1.Height=me.Height

Never change…

is this a bug ?or anything I am doing wrong?

sorry my wrong.