|
-
July 7th, 2008, 12:58 PM
#1
Getting Bitmap resources
Anyone can tell me how to load a bitmap in an "Images" folder in a project. It is a gif image with Embedded Resources setting.
imageList.Images.Add(new Bitmap(this.GetType(), "Images.funny.gif"));
but seems it's not working.
In VS.2008, it complained me Resources 'Images.funny.gif' cannot be found in System.Windows.Forms.RichTextBox
My control is derived from a RichTextBox
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|