Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does Visual Inheritance work in .Net?
Message
De
18/06/2007 17:19:44
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
18/06/2007 16:59:27
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Divers
Thread ID:
01234107
Message ID:
01234131
Vues:
11
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!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform