Can anyone tell me how to set what to run in design time and what to run at run time? just like a command back in VB 6 usercontrol.usermode? I can't seem to figure out where it belongs to now


And if i don't want a certain properties to be exposed in my control? how do i do it? For example, i don't want the width and height property to be exposed to the user, how do i do it? I've tried overriding it but it doesn't allow overriding of these two properties.

Thanks in advance for the help