Shedding Light on windows Programming Home Training Resources Registration About the Paul Yao Company
The Paul Yao Company





Microsoft Windows Embedded Partner


Principles of .NET Compact Framework Programming

Overview
This workshop introduces programmers to the elements needed to write programs for the .NET Compact Framework on Microsoft(R) Windows(R) CE-powered devices.

Who Should Attend
This lecture and lab-based workshop is intended for software engineers who need to understand the design and operation of the .NET Comapct Framework. This includes software architects, designers, programmers, testers, and development managers. No prior experience with Windows(R) programming is required, although programming experience is required to make the most of the programming labs which are offered during the workshop.

Workshop Highlights
  • Windows CE Embedded Devices
  • Accessing Win32 DLLs with P/Invoke
  • Build robust user-interface code
  • Data storage options
  • Device connectivity and synchronization
  • Custom controls and graphics programming

Performance Objectives
On completion of this workshop, attendees will be able to...
  • Describe the rationale behind .NET Compact Framework programming.
  • Describe the role of the Common Language Runtime (CLR) in .NET programming.
  • Create a dynamic link library which exposes a public class.
  • Describe the available support for calling native code from managed code.
  • Write code for a stable, manageable user-interface.
  • Write code to handle mouse (or stylus) and keyboard input.
  • Write code for menus, toolbars, and dialog boxes.
  • Create custom controls; understand the elements required for design-time support.
  • Describe storage options; write code to access files and the system registry.
  • Describe the design issues around using Web Services in Compact Framework programs.
  • Write code for a Web Services client.
  • Write code for connecting and moving data using Bluetooth, WiFi, and Infrared.
  • Write code to draw text, vector, and raster data.
  • Write code that creates hardcopy output from a Compact Framework program.
Workshop Syllabus

Monday Tuesday Wednesday Thursday Friday

ARCHITECTURE

  • Windows CE
  • What is .NET?
  • Elements of the Compact Framework

MINIMUM COMPACT FRAMEWORK PROGRAM

  • Program elements
  • Commonly used classes
  • Form Events
  • Controls

FUNDAMENTAL DATA TYPES

  • Standard Types
  • Conversion
  • Memory Management
  • Creating Class Libraries

PLATFORM INVOKE

  • Declaring Functions
  • Supported Parameters
  • Manual Marshaling

CREATING FORMS

  • The Form Class
  • Properties, Methods, and Events
  • Manipulating Forms

MOUSE AND KEYBOARD INPUT

  • System input model
  • Mouse Events
  • Mouse Cursor
  • Keyboard Events
  • Keyboard Caret

INSIDE CONTROLS

  • Supported Controls in Windows Mobile Platforms
  • PMEs: Inherited vs. Supported
  • Strategies for managing controls

DATA BINDING

  • Simple / Complex Binding
  • The DataGrid Control

COMMAND INPUT

  • Menus
  • Toolbars
  • Dialog Boxes

CUSTOM CONTROLS

  • Base Classes
  • Overriding Events and Methods
  • Design-Time Support

STORAGE

  • File I/O
  • System Registry

ADO.NET PROGRAMMING

  • Core Classes
  • XML Storage
  • SQL Server CE Databases

SYNCHRONIZING MOBILE DATA

  • Remote Data Access (RDA)
  • Merge Replication

THE REMOTE API (RAPI)

  • Desktop system considerations
  • Startup and Shutdown
  • Supported Services

BUILDING WEB SERVICE CLIENTS

  • A simple web service server
  • Client Fundamentals
  • Performance considerations

WIRELESS CONNECTIVITY

  • Establishing Connections
  • Monitoring status
  • Shutdown and Cleanup

COMPACT FRAMEWORK GRAPHICS

  • Raster graphics
  • Vector graphics

TEXT AND FONTS

  • Font enumeration
  • Creating and managing fonts

PRINTING

  • The Printing Pipeline
  • Some printing alternatives
CONTACT US LOGISTICS REQUEST MORE INFORMATION