This documentation is archived and is not being maintained.

Alarm Clock Sample

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

To build the sample

  • 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.

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