Asp.net源码专业站
首页->博客空间->SpaceBuilderV1.0RC免安装版源码(51aspx调测)>>BasicWebControls/Channel/SiteLink.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:SpaceBuilderV1.0RC免安装版源码(51aspx调测)
当前文件:文件类型 SpaceBuilderV10RC/BasicWebControls/Channel/SiteLink.cs[2K,2009-6-12 11:55:43]打开代码结构图
普通视图
		            
1//------------------------------------------------------------------------------ 2// <copyright company="Tunynet"> 3// Copyright (c) Tunynet Network Technology Co., Ltd. All rights reserved. 4// </copyright> 5//------------------------------------------------------------------------------ 6 7using System; 8using System.Collections.Generic; 9using System.ComponentModel; 10using System.Drawing; 11using System.Data; 12using System.Text; 13using System.Web.UI.WebControls; 14using SpaceBuilder.Components; 15using TunyNet.Data.Utils; 16using SpaceBuilder.Configuration; 17using SpaceBuilder.Controls.BaseClasses; 18 19namespace SpaceBuilder.Web.Controls 20{ 21 public class SiteLink : TemplatedWebControl 22 { 23 SBContext wlContext; 24 25 属性 64 65 protected override void OnInit(EventArgs e) 66 { 67 if (SkinName == null) 68 ExternalSkinFileName = "Skin-SiteLink.ascx"; 69 else 70 ExternalSkinFileName = SkinName; 71 72 wlContext = SBContext.Current; 73 base.OnInit(e); 74 } 75 76 SiteLinkRepeater siteLinkRepeater = null; 77 78 protected override void AttachChildControls() 79 { 80 siteLinkRepeater = this.FindControl("SiteLinkRepeater") as SiteLinkRepeater; 81 if (siteLinkRepeater != null) 82 { 83 siteLinkRepeater.DisplayItemCount = this.displayItemCount; 84 siteLinkRepeater.LinkCategory = this.linkCategory; 85 siteLinkRepeater.LinkType = this.linkType; 86 siteLinkRepeater.RepeatDirection = this.repeateDirection; 87 } 88 } 89 } 90} 91
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:SpaceBuilderV1.0RC免安装版源码(51aspx调测)
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146