Upload
camilla-barton
View
214
Download
0
Embed Size (px)
Citation preview
1b – Inside Visual Studio
Lingma AchesonDepartment of Computer and Information Science, IUPUI
CSCI N331 VB .NET Programming
Purpose• Be more familiar with the Visual
Studio interface• Know how to use some of the tools• Know how to run a project
Layout• Download and unzip the project
“Welcome”• Open the project by double clicking
on the solution file.• Double click on the “Welcome.vb”• Layout
– Menu bars on the top– Tool bars under the menu bar– Toolbox on the left hand side– Solution Explorer and Properties on the right
hand side– Form Window in the middle
Layout• Toolbox on the left hand side
– Add items to the Form– All Windows Forms
• Solution Explorer on the right hand side– Manage forms and files used for the project– Right click on the project name →Properties
→ Compile → set both “Option explicit” and “Option strict” to On
• Save the project (* means the file is not saved)
Layout• Properties
– Form properties: Name, Size, Background Color, …
– Label properties: Name, Text, Background Color, …
– Picture properties: Name, Image, Size, …
Run the Project• Build → Build projectName• Run the project: Three options
– Debug → Start Debugging– F5– Click on the green triangle button on the tool
bar