Presentation is loading. Please wait.

Presentation is loading. Please wait.

CIS 310: Visual Programming, Spring 2007 Western State College Welcome to 310 Visual Programming Spring, 2008.

Similar presentations


Presentation on theme: "CIS 310: Visual Programming, Spring 2007 Western State College Welcome to 310 Visual Programming Spring, 2008."— Presentation transcript:

1 CIS 310: Visual Programming, Spring 2007 Western State College Welcome to 310 Visual Programming Spring, 2008

2 CIS 310: Visual Programming, Spring 2007 Western State College Under the Hood of VS Let’s look at the voting machine again: What’s in the “code behind”? How does this relate to the design view? Where does each bit of vocabulary come from? Where is the documentation on these classes? What other properties are interesting? What other events are there? How do events and handlers get matched up? Why are the instance variables in the form?

3 CIS 310: Visual Programming, Spring 2007 Western State College Resources Resources are data objects associated with a project. You can get resources into your project using the “add item” menu. You can deal with picture resources by importing them. Visual studio automatically bundles resources with the executable for you – much better than having to install files by hand.

4 CIS 310: Visual Programming, Spring 2007 Western State College Adding Pictures This is what works for me: On one of your pictureBox objects, set the picture and use “import” to bring an image into your project. You get at the image using Project.Properties.Resources.filename Here, Project = the name of your project


Download ppt "CIS 310: Visual Programming, Spring 2007 Western State College Welcome to 310 Visual Programming Spring, 2008."

Similar presentations


Ads by Google