Visual Studio 2008 adds a large set of new functionality for the Visual Studio developer. From new language features, including LINQ (Language Integrated Query), to new client-side data support, Visual Studio 2008 and the .NET Framework 3.5 make it easier than ever to create robust, enterprise-level applications. In this course, you will begin with the basics, becoming familiar with Windows Forms and Windows Forms controls and Windows Presentation Foundation (WPF). You will learn how to access data using ADO.NET, how to take advantage of data binding features, and you will explore the range of controls and components provided by Visual Studio. You will also learn how to build solid applications using structured exception handling, how to use the Visual Studio debugging features, how to use MenuStrip and ToolStrip controls, and how to add unprecedented flexibility to your user interfaces using the container controls.
|
Class Agenda:
Introduction to Windows Forms
-
.NET Does Windows
-
Adding Controls to a Form
-
A Peek Behind the Scenes
-
Adding Event Handling Code
-
Adding a Menu to the Form
-
Adding Non-Graphical Components
Taking Advantage of the Form Event Model
Common Windows Forms Controls
-
Label, TextBox, and Button
-
CheckBox and RadioButton
-
ComboBox, ListBox, and CheckedListBox
-
LinkLabel, NumericUpdown, PictureBox and ProgressBar
Exception Handling
-
Perspectives on Exception Handling
-
Getting Started with Exception Handling
-
Catching Specific Exceptions
-
Raising Errors
-
Running Code Unconditionally
-
Handling Unhandled Exceptions
-
Creating Exception Classes
Working with Strings and Dates
Accessing Data
Introduction to LINQ
Data Binding Techniques
-
Data Binding Basics
-
Creating a Data Source
-
Creating Data-Bound Forms
-
Data Binding Components and Controls
-
Displaying Data from Related Tables
-
Enforcing Referential Integrity
-
Displaying Data from Lookup Tables
-
Adding Search Capabilities to a Form
-
Filtering by Values from a Lookup Table
-
Validating Data
-
Working with Local Data
Using the Data Controls
Introduction to WPF
-
Introducing Windows Presentation Foundation (WPF)
-
Investigating XAML and the WPF Designer
-
Introducing Content and Grid Controls
Revisiting WPF
-
Laying Out the Application
-
Creating the MoviePlayer Control
-
Creating a Data Source and Hook up Data Binding
-
Adding a Data Converter and a Data Template
Handling Input/Output Tasks
-
Introducing the System.IO Namespace
-
Selecting Files
-
Browsing for Folders
-
Handling Path Information
-
Working with Directories and Files
-
Using Stream-Based Objects to Read and Write File Contents
Project Settings in Visual Studio 2008
-
The Project Designer
-
Application Properties
-
Compilation Properties
-
Debugging Properties
-
Project References
-
Project Resources
-
Project Settings
Working with My Namspace
-
The My Namespace
-
My.Application
-
My.Computer
-
My.User
-
My.Forms
-
My.Resources
-
My.Settings
-
My.WebServices
Debugging Your Applications
-
Debugging Applications
-
Setting Breakpoints and Stepping through Code
-
Evaluating Variables and Objects
-
Using the Edit and Continue Feature
-
Debugging Code in Assemblies
-
Trace and Instrumenting Applications
-
Testing Code with Unit Tests
Container Controls
-
Introducing Container Controls
-
Grouping Controls with the GroupBox Control
-
Introducing the Panel Control
-
Displaying Multiple Panels with the SplitContainer Control
-
Laying out Panels with the TabControl Control
-
Simple Layout Using the FlowLayoutPanel Control
-
Advanced Layout Using the TableLayoutPanel Control
Menus and Toolbars
-
Introducing the Strips
-
Working with the Strips
Complex Windows Forms Controls
-
Introducing Complex Controls
-
NotifyIcon Control
-
WebBrowser Control
-
MaskedTextBox Control
-
RichTextBox Control
-
TreeView and ListView Controls
-
MonthCalendar and DateTimePicker Controls
Interoperability
-
Interoperability Overview
-
COM and the .NET Framework
-
Calling COM Objects from .NET
-
Using Platform Invoke
-
Web Services
Deploying Applications Using ClickOnce
-
ClickOnce Deployment
-
Publishing and Application
-
Setting Publish Options
-
Updating a Deployed Application
-
What Happens When You Publish an Application?
-
Deploying Office 2007 Solutions
|
Prerequisites
Before taking this course, students should have a working knowledge of writing code for the .NET Framework, equivalent to our Learning to Program in Visual C# 2005 course.
Course Benefits:
- Learn about creating Windows Forms applications
- Understand how to trap Windows Forms events
- Investigate the many Windows Forms controls
- Become familiar with intrinsic .NET data types
- Learn how to access data using ADO.NET
- Bind controls to data effortlessly using data binding features
- Work with debugging features
- Learn the role of DataSets and DataTables in ADO.NET
- Understand error handling using Exception objects
- Learn how to work with the Windows file system
- Learn how to crate data-bound applications
- Create flexible user interfaces using new container controls
- Learn to create MDI applications
- Investigate new language features, including LINQ (Language Integrated Query)
- Incorporate improvements to Visual Studio's data features
- Build applications using Windows Presentation Foundation (WPF)
- Investigate new features for Windows applications
Materials Furnished:
Course Length: Five Days
List Price: $1799 |