Compartilhar via


.NET Compact Framework How-To Topics 

The following list provides links to topics containing sample code and procedures for developing and using .NET Compact Framework applications. These topics demonstrate controls in the Microsoft.WindowsCE.Forms namespace, creating custom controls, using interoperability, and workarounds for unsupported class members or other features. Included are topics that demonstrate managed Direct3D for devices, which use the Microsoft.WindowsMobile.DirectX and Microsoft.WindowsMobile.DirectX.Direct3D namespaces.

Links are categorized by their sections.

Building Applications and Core Tasks

How to: Install the .NET Compact Framework

How to: Configure Runtime Version

How to: Compile at the Command Prompt

How to: Get the Device Platform *

How to: Get the Application Directory

How to: Get the Device ID and Name *

How to: Get or Set the System Time *

How to: Get Device Memory *

How to: Reset the Device *

How to: Play Sounds *

How to: Install Assemblies in the Global Assembly Cache

* - Uses platform invoke of native code

Data Access and XML Support

How to: Use the DataGrid on the Pocket PC

How to: Use the DataGrid on the Smartphone

Encoding and Localization

How to: Get Culture Information

Graphics and Drawing

How to: Copy Images

How to: Create a Zoom Effect

How to: Display a Box Around Text

How to: Display a Gradient Fill *

How to: Draw Images Off-Screen

How to: Draw Images with Transparency

How to: Set a Background Image on a Form

How to: Use LockBits

How to: Rotate Text

* - Uses platform invoke of native code

Interoperability

How to: Use a Class for Hooking Windows Procedures

How to: Subclass a TreeView by Using Native Callbacks

How to: Subclass a Button by Using Native Callbacks

How to: Use a Helper Class for Platform Invokes

How to: Use the MessageWindow Class

Message Queuing in the .NET Compact Framework

How to: Use MSMQ in the .NET Compact Framework

Mobile Direct3D Programming

How to: Convert Desktop Direct3D Applications

How to: Transform Direct3D Objects

How to: Move and Target the Camera

How to: Create a Mesh

How to: Display and Select Meshes

How to: Handle Screen Rotation

How to: Use Sprites

Networking and Connectivity

How to: Send an HTTP Request with Proxy

How to: Use a Proxy Generated by Wsdl.exe

How to: Use Sockets

How to: Use the WebBrowser Control in the .NET Compact Framework

How to: Make an Infrared File Transfer

How to: Make an Infrared File Transfer

How to: Use MSMQ in the .NET Compact Framework

Performance and Diagnostics

How to: Generate Performance Statistics

How to: Monitor Performance at Run Time

How to: Create Log Files

How to: Improve Performance

How to: Use the High-Resolution Timer *

* - Uses platform invoke of native code

Pocket PC Development

How to: Detect Navigation Keys

How to: Send a Notification

How to: Set Pocket PC Input Methods

How to: Use a DocumentList Control

How to: Use the HardwareButton Component

How to: Use the InputPanel Component

Smartphone Development and the .NET Compact Framework

How to: Override Smartphone Soft Keys

How to: Override the Smartphone Back Key.

How to: Scroll a Form of Labels

How to: Set Smartphone Input Modes

How to: Use Smartphone Menus

Windows CE Development

How to: Create a Headless Device

Windows Forms Controls

How to: Control Docking Behavior

How to: Create a Custom Double-Click Event

How to: Create a Custom Image Button Control

How to: Create a Numeric Text Box

How to: Create an Owner-Drawn List Box

How to: Create OnEnter Functionality

How to: Display User Help

How to: Handle Orientation and Resolution Changes

How to: Scroll Form Contents

How to: Sort ListView Items

How to: Use the DateTimePicker Class in the .NET Compact Framework

How to: Use the WebBrowser Control in the .NET Compact Framework

Class Library

How to: Use the Class Library for the .NET Compact Framework

See Also

Other Resources

.NET Compact Framework Technology Samples
.NET Compact Framework Application Samples