| Lecture Topic: |
Introduction to Visual Studio |
| Objectives: |
As a result of this instruction and after having
completed the associated readings and exercises students will understand or be able to:
- Create a new VB Windows form project in Visual Studio
- Know the various windows in the Integrated Development Environment
(IDE) and how to use them to manage the project components
- Save the project onto portable media and move it to a different
computer and open it to continue editing.
- Remove a form from a project and add a new one. Set the form's
name and set the form to be the startup form for the project.
- Add Labels, text boxes, and buttons to a form.
- Set common properties including .Text
- Write simple code to read values of controls
- Set other control properties
- Perform simple calculations
- Set form properties for Text and Accept and Cancel buttons
- Use the default font for almost all interface elements
- Add comments to a program
- Add bookmarks to a program's code and use them to navigate through
the code
- Create a button with code to end the application using the End
statement.
|
| Readings: |
Murach Chapters 1, 2 & 3 |
| Exercises: |
- Consider the problem of calculating miles per gallon for each gas
tank fill-up. Create a form with all of the controls for inputs
and outputs.
- Save your project to movable media and reopen it on another
computer.
- Create a project and save it on the local hard drive. Close
Visual Studio and use Windows Explorer to copy the project to movable
media. Move the project to a different computer and open it in
Visual Studio.
|
| Lecture Notes*: |
02_Program_Intro.ppt |