>
>I'm creating a user control. Is it possible to hide the control's BorderStyle property?>
>Kevin, you need to use the [Browsable(false)] attribute. The BorderStyle property is not virtual however, so you'll need to specify it like this:
>
>
>[Browsable(false)]
>public new BorderStyle BorderStyle
>{
> get { return base.BorderStyle; }
> set { base.BorderStyle = value; }
>}
>
>
>~~Bonnie
Ok, I added this property to my class, except I made it private, and I can still see and set the property in the prop sheet.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people