Hi,
I have a custom user control. Normally it inherites the UserControl class. But by this way it inherites all the public methods and properties of UserControl. But I want to hide all these and implement my own few methods and properties.
Say that I have a custom control named CustomControl.
public class CustomControl : UserControl
When I create an instance of CustomControl:
CustomControl cControl = new CustomControl();
When I type cControl. intellisense offers me all the methods and properties derived from UserControl. But I want to list only mine which are implemented in CustomControl class.
Thank you