Programming.NET , Level II - CMP137
Course Description:
This class is a continuation of Programming.NET Level I using VB.NET language with exposure to C#.NET. A sample student survey application is used to demonstrate the use of scroll bars and sequential file output. This is followed by examples and exercises of object property validation and the necessary error raising and error handling procedures. Collections are fundamental to programming in .NET and are explained using examples and a classroom exercise using multiple instances of a form class, the tag property and the timer control. A sample non-relational data base application will be used as an example to discuss the following topics: user interface design considerations, navigation through an unknown application, the menu bar, sequential file input, and the use of a classic report generator, Crystal Reports.
Prerequisites: Programming.NET Level I.
Technology update: Please bring a Flash Drive/Memory Stick 512MB or larger to class which will enable you to save your class work.
Textbook:
Books may be purchased at the MC Bookstore or online. You will need to know the CMP#(Continuing Education classes) for the class you are taking in order to look up information about the textbook.
Classroom hours: 15
Course Objectives:
Upon completion of this course students should be able to:
Make implementation design decisions based on the advantages and disadvantages
of the available collection types.
Understand example real-world Windows Form application programs and fix
problems in these applications.
Make informed decisions whether to use the VB .net programming language
or the C# .net language.
Programming .Net Level I class or equivalent knowledge.
Summary:
The primary focus of this course is the VS .Net Integrated Development
Environment (IDE) and the VB .Net language. The classroom exercises will
be solved using the IDE and VB .Net. Emphasis will be placed on using
the .Net Framework instead of legacy VB functions; for example, the Substring
method will be used instead of the Mid function. The exercise answers
will be reviewed in both VB and C#.
Outline:
- Introductions
- Textbook
- Programming conventions
- Review Address Book, version 1
- Run and explain
- Code Review
- Navigation
- The beginning of an application
- About Box
- Menu Bar
- ASCII file Input
- Structures
- Value Types vs. Reference types
- Arrays vs. Collections
- Survey Application Exercise
- Show application
- Code Review
- Help
- Exit
- Scroll Bar Properties
- ASCII File Output
- Scroll Bar Event
- Fix Problems
- More about Classes
- Property Get / Property Let Exercise
- Property Procedures
- Error Throwing
- Error Catching
- Control Collection Exercise
- Two Ways to Access
- Shortcut Notations
- Modality
- Animation Exercise
- Multiple instances of objects
- Timer control
- Unloading Forms using a forms collection and the Tag property
- Review Address Book, version 2
- Code Review
- Startup in Main
- Global structure
- Review Address Book, version 3
- Startup in New constructor of form
- Crystal Reports
- Report definition (.rpt)
- Drag and drop Crystal Report controls
- Formulas
- Report viewer control
- Nested Control Collection Exercise
- Sort Class Exercise