End Property
End Class
--Mark Brackett
-Original Message-
From: Discussion of advanced .NET topics.
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan
Heizer
Sent: Thursday, February 15, 2007 8:34 PM
To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM
Subject: [ADVANCED-DOTNET] Inheritance/Generic Pro
What if you use composition? Create a new class to contain all your
shared functionality, then in each control class create an instance
variable of that type. That way you don't have to implement the code in
multiple places. Like:
public class MyCommonFunctionality
public sub Method1
end sub
.
On 16/2/07, Jonathan Heizer <[EMAIL PROTECTED]> wrote:
Hey all,
I am trying to reuse a bunch of Class members, properties, and functions
that are shared across multiple classes. Each of these classes already
inherit form a web control so I can not create a base class supporting the
function sin
Hey all,
I am trying to reuse a bunch of Class members, properties, and functions
that are shared across multiple classes. Each of these classes already
inherit form a web control so I can not create a base class supporting the
function since .Net does not support multiple inheritance. Right now