Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does Visual Inheritance work in .Net?
Message
De
19/06/2007 09:22:04
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
 
À
18/06/2007 23:27:05
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:
01234218
Vues:
16
I am beginning to pull my hair out over this. Nothing I do causes a change in the appearance of the font on the screen. Help- pleassssse.....

[DefaultValue(typeof(Font), "Arial,8pt")]
public override Font Font
{
get { return base.Font; }
set { base.Font = value; }
}

public wrLabel()
{
InitializeComponent();
this.Font = new Font("Arial", 8);
// tried base.font=new Font('Arial',8); but it doesn't change the font on the screen either
}
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