C# .NET Programming and WinForm Applications

Course:  CSHNWF
Duration:  5 Days
Level:  I
Course Summary

This material presents Microsoft's C# programming language and the use of Visual Studio 2008 to develop Windows applications using the .Net 3.5 Framework and libraries. Essential language syntax is included along with working with arrays, collections and exceptions. Object-Oriented concepts are covered by creating/using Classes, Inheritance and Polymorphism, including interfaces, generics and overloading. SDI/MDI Windows application using Forms, Controls and Events are developed and enhanced, including data-bound controls. Database applications are developed using ADO.Net Data Sources and DataGridView/ToolStrip Controls. Organizing classes, libraries and application deployment mechanisms are presented, along with IDE Debugging facilities.

« Hide The Details
Topics Covered In This Course

How to get started with Visual Studio

  • .Net Development and Framework,
  • IDE usage,
  • Projects,
  • Build/Running Appls

How to design a Windows Forms application

  • Project Options,
  • Form Controls and Properties,
  • Naming Conventions,
  • Files

How to code and test a Windows Forms application

  • OO Syntax for Properties/Methods/Events,
  • Code Window and IntelliSense,
  • Snippets and Refactoring,
  • Debugging Trace

How to work with numeric and string data

  • Value Types,
  • Declaration and Initialization,
  • Operators and Expressions,
  • String Types,
  • Converting Types,
  • Enumerations and Nullable Types

How to code control structures

  • Boolean Expressions and Operators,
  • Conditional if/switch Stmts,
  • Loops

How to code methods and event handlers

  • Coding and Calling Methods,
  • Reference vs Value Arguments,
  • Refactoring,
  • Events and Delegates

How to handle exceptions and validate data

  • Overview and Processing,
  • Catching and Throwing Exceptions,
  • Exception Properties,
  • Validating Input Data

How to work with arrays and collections

  • Creating and Accessing Array Data,
  • foreach Loops,
  • Multi-Dim Rectangular and Jagged Arrays,
  • Array Class Utility Methods,
  • Common Collections and Lists

How to work with dates and strings

  • Using DateTime Class Methods,
  • Using String Class Methods,
  • Formatting Numbers/Dates/Times

More skills for working with Windows forms and controls

  • Combo/List Controls,
  • CheckBox/RadioButton Controls,
  • Tabbing,
  • Multi-Form
  • Projects,
  • MessageBox Class Methods

How to debug an application

  • Debugging Options and Modes,
  • Breakpoints,
  • Monitor Windows

How to create and use classes

  • Overview,
  • Creating Class fields/properties/methods/contructors, Static,
  • Class View and Details Windows,
  • Working with Structures

How to work with indexers, delegates, events, and operators

  • Indexer Methods,
  • More with Delegates and Events,
  • Overloading Operators

How to work with inheritance

  • Overview, System.Object,
  • Base and SubClasses,
  • Overriding Methods and Polymorphism,
  • Casting Object Types,
  • Using Abstract and Sealed Classes

How to work with interfaces and generics

  • Overview and .Net Framework Interfaces,
  • Creating and Implementing IF Generic Collection Classes,
  • IComparable and IEnumerable IFs

How to organize and document your classes

  • Coding Multiple Class Sources,
  • Partial Classes,
  • Namespaces,
  • XML Class Documentation,
  • Creating and Using Class Libraries

An introduction to database programming

  • Overview,
  • Relational DB Tables and Columns,
  • SQL Query,
  • Joins,
  • Add/Del/Upd,
  • ADO.Net Providers and Components,
  • Concurrency,
  • Data Adapters

How to work with data sources and datasets

  • Data Source Window and Wizard,
  • DB Connections and DataBase Objects,
  • Data Sources and DataGridView Controls,
  • Handling Data Errors,
  • DataSet Designer

How to work with bound controls and parameterized queries

  • Bound Controls and Data Sources,
  • Parameterized Queries,
  • ToolStrip Controls,
  • More on DataGridView Properties and Formatting

How to use ADO.NET to write your own data access code

  • Working with Connections,
  • SQL Commands and Parameters,
  • Executing Commands and Data Readers

How to work with files and data streams

  • System.IO Classes,
  • Managing Directories and Files,
  • FileStream Classes and Exceptions,
  • Reading/Writing Text and Binary Files

How to work with XML files

  • Overview,
  • XML Document Syntax and Contents,
  • XML Edit Window,
  • Using XMLReader/Writer Classes

How to use LINQ

  • Overview and Processing,
  • Coding LINQ Queries,
  • Data Sources,
  • Filtering and Sorting

How to enhance the user interface

  • SDI vs MDI Applications and Coding,
  • Parent and Child Forms,
  • Menus and Toolbars
  • ToolTips and Context-Sensitive Help

How to deploy an application

  • Deployment Options,
  • XCopy/ClickOnce/Setup Programs,
  • DB Setup Issues
Who Should Take This Course

This course is for developers wishing to learn how to use the C# programming language and .Net Framework to build Windows applications.

Recommended Prerequisites

This course assumes that students have some programming background. No specific experience with Visual Studio, the .NET Framework, or Visual C# is assumed.

Training Style

Instructor led discussion, demonstrations and hands-on lab exercises. Students receive course presentation materials, all demos/labs/solutions and a reference text.

« Hide The Details
Related Courses
Code Course Title Duration Level
WPFDEV
Windows Presentation Foundation Using VB or C#
4 Days
I
Details
CSHNI
Introduction to C# and .NET
5 Days
I
Details
NETCSH
Programming the .Net Framework with C#
5 Days
I
Details
VBNWF
Visual Basic .NET Programming and WinForm Applications
5 Days
I
Details
WSCS
Building Web Services Using Visual C#
3 Days
II
Details
CSADV
Advanced Development Topics In Visual C#
4 Days
II
Details
CSH02
C# 2014 Master Tech for Experienced C# Developers
5 Days
II
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at info@verhoef.com