Ncode Posted August 10, 2003 Posted August 10, 2003 how can i include icons and bitmaps in my form, how to create a resource file ? Quote
*Experts* mutant Posted August 10, 2003 *Experts* Posted August 10, 2003 Add your images to your project, click on the image in the solution explorer, then in properties window click on Build Action and then from the combo box at right choose Embedded Resource. To get the resource to use in your app do this: System.Reflection.Assembly.GetExecutingAssembly.GetManifestResourceStream("ProjectNamespace.ResourceNameAnd Extension"); This will return a stream that will contain the resource you specified. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.