Alarm Clock Sample 

This sample is a basic alarm clock, hosted in a native non-rectangular window.

Download sample

To build the sample

  1. Download and build the Gizmo UI sample, which is a prerequisite for building and running Alarm Clock.

  2. Run MSBuild from the sample root directory or load the Alarm Clock solution in Visual Studio.

To run the sample

  1. Create an "Alarm Clock" folder in the "My Documents" folder.

  2. Copy all the files from the "Sample Files" folder into the "Alarm Clock" folder.

  3. From the bin folder run "ConsoleHost.exe" in a console window.

  4. From the alarmclock\app\bin\release folder, run AlarmClock.exe.

Requirements

Microsoft® .NET Framework 3.0

The Gizmo UI sample builds and runs successfully.

Demonstrates

The Alarm Clock sample demonstrates some applications of Windows® Presentation Foundation animation and opacity control.

Example

This sample has a project-to-project dependency on the Gizmo UI sample and requires that it build and run as a prerequisite.

See Also