Freigeben über


SDK Viewer Demo

The SDK Viewer is a sample rich client application that leverages the capabilities of Windows Presentation Foundation (WPF) to enhance the viewing experience of SDK content. The viewer features both online and offline documentation modes, annotatable content, and FlowDocument presentation for optimal content placement and positioning.

For comprehensive coverage of Windows Presentation Foundation (WPF) and Microsoft .NET Framework application development best practices, refer to the following as appropriate:

Accessibility - Accessibility Best Practices

Security - Windows Presentation Foundation Security

Localization - WPF Globalization and Localization Overview

Downloading and Compiling the Sample

Due to the size of the application, and the desire to deliver periodic content updates, the SDK Viewer must be downloaded separately. It is available at the following URLs:

C# Version (3.34 mb)

sdkviewercsharp.zip

Microsoft Visual Basic .NET Version (3.35 mb)

sdkviewervb.zip

Once downloaded, you must unzip the project. Once unzipped, the files can be compiled using the instructions below.

Building the Sample

  • Install the Windows Software Development Kit (SDK) and open its build environment command window. On the Start menu, point to All Programs, Microsoft Windows SDK, and then click CMD Shell.

  • Download the sample, usually from the software development kit (SDK) documentation, to your hard disk drive.

  • To build the sample from the build environment command window, go to the source directory of the sample. At the command prompt, type MSBUILD.

  • To build the sample in Microsoft Visual Studio 2005, load the sample solution or project file and then press CTRL+SHIFT+B.

Running the Sample

  • To run the compiled sample from the build environment command window, execute the .exe file in the Bin\Debug or Bin\Release folder contained under the sample source code folder.

  • To run the compiled sample with debugging in Visual Studio 2005, press F5.

Remarks

The content in the SDK Viewer sample may represent pre-release documentation. For the most current WPF documentation, please see MSDN.

In order to minimize the size of this sample application, images are not included with the content. As such, references to images may appear in text, but the figure will not appear. If you are interested in seeing complete documentation for WPF, please view the documentation provided on MSDN.

In order to compile and run this sample application, you must use the provided .sln file, as the sample requires compilation of a .dll included as a sub-project. Alternatively, this .dll can be compiled by first building the Samples.VisualStudio.csproj project contained in the Samples directory, then building the SdkViewer.VisualStudio.csproj project.

See Also

Other Resources

Documents in Windows Presentation Foundation
Flow Document Overview
Get Started Using Windows Presentation Foundation