I am inheriting this procedure from 2 classes.. The problem is I get an error because I am adding a control 2 times.
How do i get around this ?It looks like I cant inherit controls
class1
Public Overridable Sub loadEquationInput()
Canvas.SetLeft(tb6, 200)
Canvas.SetTop(tb6, 45)
canvas1.Children.Add(tb6)
..
class2 inherits class1
Public Overrides Sub loadEquationInput()
MyBase.loadEquationInput()
class3 inherits class1
Public Overrides Sub loadEquationInput()
MyBase.loadEquationInput()