Advertisement

01.23.2008 at 09:50PM PST, ID: 23106892
[x]
Attachment Details

How to Hide the event and properties of inherited control

Asked by Rahu_ketu_patal in C# Programming Language, Microsoft Development, Visual Studio .NET 2005

Tags: Microsoft, Visual C#, 2005, Windows Custom Control, C#

Hi Guys,

I do have a problem, I need to create a control which will interit the ListBox and use MVC model.
and the main thing is, it should inherit all features from the base control. But the properties should be visible only of derived one and the events also.

I tried to google for it, But I can not find any solution/help.

I tried to declare new definition like
private new event EventHandler SelectionChanged(Object sender, Args e)

But it is still visible.

I hope some of you can help me in the same.

Thanks
Rahu_ketu_patalStart Free Trial
[+][-]01.23.2008 at 10:02PM PST, ID: 20730978

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 10:08PM PST, ID: 20730996

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 10:12PM PST, ID: 20731015

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 10:17PM PST, ID: 20731036

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.23.2008 at 10:36PM PST, ID: 20731116

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.24.2008 at 01:30AM PST, ID: 20731782

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: C# Programming Language, Microsoft Development, Visual Studio .NET 2005
Tags: Microsoft, Visual C#, 2005, Windows Custom Control, C#
Sign Up Now!
Solution Provided By: FlorinAntoci
Participating Experts: 2
Solution Grade: B
 
 
[+][-]01.24.2008 at 04:44AM PST, ID: 20732444

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01.24.2008 at 04:44AM PST, ID: 20732446

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]01.24.2008 at 08:43PM PST, ID: 20740157

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628