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

  • Thread starter Thread starter Benoist LUGNIER
  • Start date Start date
B

Benoist LUGNIER

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
 
* Benoist LUGNIER said:
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?
 
Back
Top