COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
-
Upload
tyrone-gabriel-may -
Category
Documents
-
view
225 -
download
0
description
Transcript of COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
![Page 1: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/1.jpg)
COMPUTER PROGRAMMING I
3.01 Apply Controls Associated With Visual
Studio Form
![Page 2: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/2.jpg)
Essential Standard and Objectives
Essential Standard 3.00 Apply Procedures To Construct Windows Form
3.01 Apply Controls Associated With Visual Studio Form (3%)
![Page 3: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/3.jpg)
Starting Visual Studio
First Time Only:1.Choose Default Environment Settings Dialogue
Box1. Pick the language you are using for the class.
2.Click on Start Visual Studio.3.Microsoft Visual Studio will Load User Settings
– Be Patient.
![Page 4: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/4.jpg)
This is the Start Page you will see each time you open Visual Studio.
![Page 5: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/5.jpg)
Ways to Create a Project
1. File > New > Project
2. Click New Project button
3. In Recent Projects,Create: Project, click Project
![Page 6: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/6.jpg)
Creating a New Project
The New Project dialog box is displayed.
1.Choose your programming language
2.Choose the template VB: Windows Application
3.Change the Name4.Change the Location
to where you are saving your work.
5.Click OK
![Page 7: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/7.jpg)
Visual Basic Project Folder
![Page 8: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/8.jpg)
Solution Explorer Window
![Page 9: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/9.jpg)
Visual Studio Tools
![Page 10: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/10.jpg)
Designer Window
Solution Explorer Window
Properties Window
Toolbox
![Page 11: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/11.jpg)
The Solution Explorer Window
The Solution Explorer window displays a list of the projects in the solution and the items contained in the project.
Source Code File
My Project files
View Designer
View CodeRefresh
Show All Files
Properties
![Page 12: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/12.jpg)
Designer Window
Designer Window Contains a Form.
To Change the size of the Form1. Click and Drag the Sizing Handles on the Corner of
the Form or 2. Change the Size Properties (Measured in Pixels) on
the Properties Window.
![Page 13: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/13.jpg)
The Editor Window
This White Window Will Contain Your Program Code.
Class Name ListContains all
control objects on form
Method Name ListContains all
methods for the chosen object
![Page 14: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/14.jpg)
Properties Window
![Page 15: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/15.jpg)
The Toolbox
The Toolbox Contains the Controls for Designing a Form.
The Toolbox Tab Appears on the Left of the IDE.
To Make the Toolbox Visible, Click Toolbox Tab and Click the
Virtual Push Pin. View Menu > Toolbox Click the Toolbox button.
![Page 16: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/16.jpg)
The Toolbox Controls
Controls Are Objects Which Can Be Placed on Your Form Using Either the Double-Click or Click and Drag Method.
Examples of Some Toolbox Controls: Buttons Labels Option Buttons Check Boxes List Boxes, etc.
![Page 17: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/17.jpg)
Common Controls
![Page 18: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/18.jpg)
Common Controls
![Page 19: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/19.jpg)
Adding a Control
• To add an object to a form– Click a control in the Toolbox and then click the
form– The pointer shape displays an icon similar to the
selected control.– There are snap-to lines that you can use for
alignment.
• Moving an object– Drag a control object to move it.– You can select a group to move together
![Page 20: COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.](https://reader030.fdocuments.net/reader030/viewer/2022020119/5a4d1b527f8b9ab0599a8227/html5/thumbnails/20.jpg)
Designing a Form