Title: Tutorial 2 Welcome Application
1Tutorial 2 Tutorial 3
Overview of the Visual Studio .NET IDE Creating
a Project for the Welcome Application Menu Bar
and Toolbar Visual Studio .NET IDE Windows Auto
Hide Using Help
22.3 Creating a Project for the Welcome
Application
Figure 2.9 New Project dialog.
32.3 Creating a Project for the Welcome
Application
Figure 2.9 New Project dialog.
42.3 Creating a Project for the Welcome
Application
Figure 2.7 Solutions can contain one or more
projects.
- Applications
- Contain one solution
- Solutions contain one or more projects
52.3 Creating a Project for the Welcome
Application
Figure 2.12 Design view of Visual Studio .NET.
62.3 Creating a Project for the Welcome
Application
Figure 2.12 Design view of Visual Studio .NET.
72.3 Creating a Project for the Welcome
Application
- Visual Studio .NET
- Tabs provide easy access to multiple files
- Active tab displayed in bold
- Menu bar contains menus that contain commands
- Solution Explorer lists all files in solution
- Form1 represents new Windows application GUI
- Properties window lists properties of Form and
controls.
82.4 Menu Bar and Toolbar
Describe each menu items purpose
92.4 Menu Bar and Toolbar
102.5 Visual Studio .NET IDE Windows
Figure 2.22 Toolbox displaying the contents of
the Windows Forms tab.
??????
112.5 Visual Studio .NET IDE Windows
Figure 2.22 Toolbox displaying the contents of
the Windows Forms tab.
122.5 Visual Studio .NET IDE Windows
- Toolbox
- Displayed by selecting View gt Toolbox
- Contains five tabs, each grouping related
controls - Data
- Components
- Windows Forms
- Clipboard Ring
- General
- Selecting tab displays controls in that group
- Black scroll arrows used to display additional
controls - If scroll arrow is gray, it is disabled, no more
controls to choose from
132.5 Visual Studio .NET IDE Windows
Figure 2.23 Properties window displaying a Forms
properties.
142.5 Visual Studio .NET IDE Windows
- Properties window
- Displayed by selecting View gt Properties Window
- Allows quick setting of a controls properties
- Displays brief description of property
- Do not have to remember a properties settings
- Each Form or control has its own properties
- Component object box
- Allows you to select control to change properties
- Displays controls name and class
152.6 Auto Hide
Figure 2.25 Displaying a hidden window with Auto
Hide enabled.
162.7 Using Help
Figure 2.29 Dynamic Help window.
172.7 Using Help
18Tutorial 3 Create Simple Program
- In this exercise
- Set the text in the Forms title bar to uccsdemo.
- Change the Forms background color to blue.
- Place a Label control on the Form.
- Display text in a Label control.
- Place a PictureBox control on the Form.
- Display an image, uccsbanner.gif, in a PictureBox
control. - Execute the application.