I was actually going to ask the same question. I'll give
you an example though.
If you look at the TrackBar control, there is no Text
property because there is no text rendered on the
control. The TrackBar inherits from the Control class,
which does have a Text property.
From what I understand, using the keyword new is supposed
to allow you to replace an inherited function with your
own. This doesn't work if you change the scope.
If I remember correctly, changing the scope does work in
VB with the Shadows keyword. I would assume that C#
would have some way to do it.
-----Original Message-----
I've created a class derived from NativeWindow. The
public methods arevisible to consumers of my class and I don't wish them
to be. How does onehide those members?
Best
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system
(http://www.grisoft.com).Version: 6.0.500 / Virus Database: 298 - Release Date:
7/10/2003
.