Mercurial > silverbladetech
view Chronosv2/source/Presentation/Widgets/Clock/ClockWidget.cs @ 12:6a0449185449
SCC changed from TFS to HG
author | stevenh7776 stevenhollidge@hotmail.com |
---|---|
date | Tue, 21 Feb 2012 17:47:35 +0700 |
parents | 443821e55f06 |
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 } }