G
Guest
I am trying to extend TreeView to add some of my own functionality and I
needed to put a public method but the compiler won't let me and I really
don't understand why.
I declared my class:
public class MyTree : TreeView
and then tried to add a simple method:
public void DoSomething() { }
and compiler will not let me... my method name does not conflict with
anything existing in TreeView...
needed to put a public method but the compiler won't let me and I really
don't understand why.
I declared my class:
public class MyTree : TreeView
and then tried to add a simple method:
public void DoSomething() { }
and compiler will not let me... my method name does not conflict with
anything existing in TreeView...