jackhui
July 7th, 2008, 12:58 PM
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
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