示例#1
0
        /// <summary>
        ///
        /// </summary>
        public DesktopTaskBar.Builder DesktopTaskBar(DesktopTaskBar.Config config)
        {
#if MVC
            return(new DesktopTaskBar.Builder(new DesktopTaskBar(config)
            {
                ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null
            }));
#else
            return(new DesktopTaskBar.Builder(new DesktopTaskBar(config)));
#endif
        }
 /// <summary>
 ///
 /// </summary>
 public Builder(DesktopTaskBar.Config config) : base(new DesktopTaskBar(config))
 {
 }
 /// <summary>
 ///
 /// </summary>
 public DesktopTaskBar.Builder DesktopTaskBar(DesktopTaskBar.Config config)
 {
     return(new DesktopTaskBar.Builder(new DesktopTaskBar(config)));
 }