Mercurial > silverbladetech
view Chronosv2/source/Presentation/Widgets/Clock/ClockWidget.cs @ 10:443821e55f06
Initial cleaned up add from Codeplex files
author | stevenh7776 stevenhollidge@hotmail.com |
---|---|
date | Tue, 21 Feb 2012 17:25:44 +0700 |
parents | |
children |
line wrap: on
line source
using System; using Chronos.Presentation.Core.Widgets; namespace Chronos.Presentation.Widgets { /// <summary> /// Clock widget definition /// </summary> public sealed class ClockWidget : IWidget { #region · Properties · /// <summary> /// Gets the widget title /// </summary> /// <value></value> public string Title { get { return "Digital Clock"; } } /// <summary> /// Gets the widget description /// </summary> /// <value></value> public string Description { get { return "Digital Clock"; } } /// <summary> /// Gets the widget group /// </summary> /// <value></value> public string Group { get { return "Tools"; } } /// <summary> /// Gets the widget icon style /// </summary> /// <value></value> public string IconStyle { get { return String.Empty; } } #endregion #region · Methods · /// <summary> /// Creates the widget view /// </summary> /// <returns></returns> public System.Windows.FrameworkElement CreateView() { return new ClockWidgetView(); } #endregion } }