12345678910111213141516171819202122232425262728 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc.Html;
- using Bowin.Web.Controls.Mvc;
- namespace System.Web.Mvc
- {
- public static class SystemClockExtensions
- {
- /// <summary>
- /// 系统时钟控件
- /// </summary>
- /// <param name="htmlHelper"></param>
- /// <param name="options"></param>
- /// <param name="htmlAttributes"></param>
- /// <returns></returns>
- public static MvcHtmlString SystemClock(this HtmlHelper htmlHelper,
- SystemClockOptions options,
- System.Collections.Generic.Dictionary<string, string> htmlAttributes = null)
- {
- return MvcHtmlString.Create(Bowin.Web.Controls.Mvc.SystemClock.CreateControl(options,htmlAttributes).Render());
- }
- }
- }
|