Asp.net源码专业站
首页->控件应用->漂亮的ComponentArtWebUI及Demo源码>>common/controls/demo_area.ascx.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:漂亮的ComponentArtWebUI及Demo源码
当前文件:文件类型 ComponentArtWebUI/common/controls/demo_area.ascx.cs[1K,2009-6-12 11:37:11]打开代码结构图
普通视图
		            
1namespace Demos.common.controls 2{ 3 using System; 4 using System.Data; 5 using System.Drawing; 6 using System.Web; 7 using System.Web.UI.WebControls; 8 using System.Web.UI.HtmlControls; 9 10 /// <summary> 11 /// Summary description for demo_area. 12 /// </summary> 13 public class demo_area : System.Web.UI.UserControl { 14 protected ComponentArt.Web.UI.NavBar DemoNav; 15 protected System.Web.UI.WebControls.HyperLink LinkPrevious; 16 protected System.Web.UI.WebControls.HyperLink LinkNext; 17 protected System.Web.UI.WebControls.Image ProductImage; 18 19 public string Xml; 20 public string Logo; 21 public string Name; 22 23 private void Page_Load(object sender, System.EventArgs e) { 24 System.Web.UI.UserControl Header = (System.Web.UI.UserControl) this.Parent; 25 Xml = Header.Attributes["SiteMapFile"]; 26 Logo = Header.Attributes["ProductLogo"].Replace("_","-"); 27 Logo = Logo.Replace(".gif",".png"); 28 Name = Header.Attributes["DemoName"]; 29 30 ProductImage.ImageUrl = "~/common/images/demos/" + Logo; 31 32 DemoNav.SiteMapXmlFile = "~/common/xml/" + Xml; 33 LinkPrevious.NavigateUrl = DemoNav.PreviousUrl; 34 LinkNext.NavigateUrl = DemoNav.NextUrl; 35 } 36 37 Web Form Designer generated code 56 } 57} 58
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:漂亮的ComponentArtWebUI及Demo源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146