Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does Visual Inheritance work in .Net?
Message
From
18/06/2007 17:19:44
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgia, United States
 
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01234107
Message ID:
01234131
Views:
12
What were you doing in Milledgeville? I went to High School there - Ga Military Colleage. We keep a small sailboat on Lake Sinclair so we are up there about every weekend.


This code does not work. Can you tell me what I am doing wrong? Is it because this is a subclass of a subclass?

public partial class wrLabel : OakLeaf.MM.Main.Windows.Forms.mmLabel
{


override public Font Font
{
get { return base.Font; }
set { base.Font = value; }
}

public wrLabel()
{
InitializeComponent();
base.Font = new Font("Arial", 8); // referencing System.Drawing.
}
}
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform