Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I put default images and captions in my class?
Message
De
06/08/2004 22:37:56
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
How can I put default images and captions in my class?
Divers
Thread ID:
00931505
Message ID:
00931505
Vues:
56
I have this code to create my own class but when I dropped it in my form after added it in my Tools, the caption defined and the image is not appearing. The caption appearing is still bbButtonOk1. Anything missing here?
public class bbButtonOk : System.Windows.Forms.Button {
    public bbButtonOk() {
	this.ForeColor = Color.Black;
	this.Text = "&MyCaption";
	this.Image = "images\newreq.bmp";
    }
}
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform