Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I put default images and captions in my class?
Message
From
06/08/2004 22:37:56
Czarina Joyce Villanueva
Innovision Systems International
Manila, Philippines
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How can I put default images and captions in my class?
Miscellaneous
Thread ID:
00931505
Message ID:
00931505
Views:
57
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";
    }
}
Next
Reply
Map
View

Click here to load this message in the networking platform