Click here to Skip to main content
13,253,507 members (51,395 online)
Rate this:
Please Sign up or sign in to vote.
Dear all
I am designing a numerical text box user control, but now I have a problem, it is when I add my NumTextBox to the form and I want to open the events combo box, I found the UserControl events and my own events.
I want to display my own events only, I don't want to display the UserControl events.
Can anybody help me please?
Posted 1-Dec-11 8:06am
SAKryukov 1-Dec-11 13:16pm
What does it mean: "display events"? Help with what? Any code sample?
I think he means in intellisense.
fadi77_net 1-Dec-11 14:42pm
I mean, when you open the code view, you will find two combo boxes at the upper of the code editor, the right combo box is the event combo box.
the event combo box appears the UserControl events, I don't want to allow to display it, I want to display my own events only in the events combo box.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Anything defined as protected or public in an object will be visible in intellisense. Beyond that, you don't necessarily want to change the accessibility of protected or public methods because - well - it makes more sense for them to be public or protected.
fadi77_net 1-Dec-11 15:06pm
Can you give me an example please?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171114.1 | Last Updated 1 Dec 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100