473,396 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1814
* 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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ryan Taylor | last post by:
Hopefully a quick question. I remember seeing a guideline on Microsofts site that stated the recommended order for declaring members, properties, events and orders. As I am really trying to...
4
by: Michael Maes | last post by:
Hi, I have a UserControl with some "Children" (e.g. one ComboBox & one Label). I add the UserControl on a Form. If I perform a recursive scan through that Form's Control-Collection the...
2
by: Daniel Friend | last post by:
Hello, I have added a custom usercontrol programically and all works fine... I would like to change some custom properties that I have set in that usercontrol. Any help would be greatly...
0
by: Daniel Friend | last post by:
Hello, I have added a custom usercontrol programically and all works fine... I would like to change some custom properties that I have set in that usercontrol. Any help would be greatly...
1
by: Dave Wurtz | last post by:
All, I have a custom control that has a textbox on it. I want to be able to set properties of the textbox in the IDE. I have exposed the textbox with a property and it now shows up in my...
0
by: elziko | last post by:
I have a UserControl inside my project. When I click on the UserControl in the design view I get to also view all its properties in the property grid. I the change the AllowDrop property to True. ...
2
by: badger | last post by:
Hi, I have created a usercontrol with a public property as follows: // default display type to single form. private DisplayType selectedDisplayType = LoginForm.DisplayType.SingleForm; ...
3
by: dowlingm815 | last post by:
I am trying to execute an event procedure after the user selects a drop-down off of an Access form. I have tried: - on exit - after update Looking for some suggestions...
3
by: kjward | last post by:
i am creating a usercontrol having a number of somewhat inter-related custom properties such that when a certain value is selected for one, one of the other properties should not then be settable. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.