Thanks for your reply Keenan, I was thinking I would have to implement my own
designer, but what you said lead me to just setting the min and max form
sizes on the base which works.
> Well i suppose you could override the Size property accessors to ignore
> any changes made from the inherited form. I think that should do the
> trick. I did a similar method to prevent others from trying to change
> the font of a control.
Matt Garven - 14 Feb 2005 00:15 GMT
You might want to look into the BrowsableAttribute and the
DesignerSerializationVisibilityAttribute in addition to setting the minimum
and maximum size.
Regards,
Matt Garven
> Thanks for your reply Keenan, I was thinking I would have to implement my own
> designer, but what you said lead me to just setting the min and max form
[quoted text clipped - 4 lines]
> > trick. I did a similar method to prevent others from trying to change
> > the font of a control.