

All you need are some problem solving skills! This Instructable will guide you through the entire process. Don't worry if you aren't familiar with programming. If you are familiar with the Java programming language, C# functions very similarly. Visual Studio: 2013 Download: 2010 Download: (v=vs.100).aspx I will be using the 2010 version of Visual Studio in this tutorial, but every version is pretty similar. What you will need: A computer running Windows 7 or higher About 30min - 1hr of free time Possibly a scratch sheet of paper for understanding logic. It is free and can be downloaded on their website. Visual Studio is a form of development software made by Microsoft to help developers create programs more easily. resources = new Instrucable will guide you through creating a basic calculator application in C# using Microsoft's Visual Studo development software. this.Icon = (()(resources.GetObject("$this.Icon"))) This example would end up generating a line in the Main form's designer like this. In the image below you can see the "scrape.ico" file being set as the Main form's Icon. Browse to the resource (if you embedded it in the Resources.resx it will actually be in the Resources folder - which would have been created when you added your first resource to Resources.resx - and you should use the first method above), and select the correct resource. Click the ellipses button to bring up the Open File dialog. Find the appropraite property, such as Icon for a form. Select the control in the designer and open the Properties window ( F4 is default shortcut key). Using the designer, you can embed a resource in a form's. This tool is smart enough to figure out what type of resource it is, and you can see in the screen shot below that similar resource types are grouped together under the menu bar's drop down list.įrom this point you can follow the accepted answer and manually assign the resource to a control's property. You can copy from Windows Explorer and paste in the VS resources designer. You can view it under Properties in the Solution Explorer.ĭouble click Resources.resx to open the designer. Resources.resx should have been created when your WinForms project was created. For completion I wanted to expound on some of the answers listed.
