469,626 Members | 871 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,626 developers. It's quick & easy.

usercontrol - how to hide properties and events in VB .NET

Hello,

I've done a user control named for example myUC with 1 fonction "Beep".
When I use it on a project, I put myUC on a form (it is called myUC1). When
I type "myUC1.", intellisense give me lot of thing like visible....
I just want to have 1 choice : Beep.
What have I to do to hide other properties, fonctions and events ?

Thanks

Benoist
Nov 20 '05 #1
1 1689
* Benoist LUGNIER <do****@acuisoft.com> scripsit:
I've done a user control named for example myUC with 1 fonction "Beep".
When I use it on a project, I put myUC on a form (it is called myUC1). When
I type "myUC1.", intellisense give me lot of thing like visible....
I just want to have 1 choice : Beep.
What have I to do to hide other properties, fonctions and events ?


You can't. Why do you want to do that?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Michael Maes | last post: by
1 post views Thread by Dave Wurtz | last post: by
reply views Thread by elziko | last post: by
2 posts views Thread by badger | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.