bsp; _Strings = new StringItems();
return _Strings;
}
}
private string _Caption;
public string Caption
{
get
{
return _Caption;
}
set
{
_Caption = value;
}
}
#region 事件
private static object _FieldEvent = null;
public event System.EventHandler ProcessEvent
{
add
{
Events.AddHandler(_FieldEvent,value);
}
remove
{
Events.RemoveHandler(_FieldEvent,value);
}
}
#endregion
public void Execute()
{
EventHandler hander = (EventHandler)Events[_FieldEvent];
if(hander != null)
{
hander(this,null);
}
}
public override void RenderBeginTag(HtmlTextWriter writer)
{
base.RenderBeginTag (writer);
System.Text.StringBuilder str = new System.Text.StringBuilder();
str.AppendFormat(SCRIPT,this.Caption,_Strings[0].Text,_Strings[1].Text,_Strings[2].Text,_Strings[3].Text,_Strings[4].Text,_Strings[0].HyperText,_Strings[1].HyperText,_Strings[2].HyperText,_Strings[3].HyperText,_Strings[4].HyperText);
writer.WriteLine(str.ToString());
}
上一页 [1] [2] [3] [4] [5] [6] [7] [8] 下一页 [C语言系列]NET 中C#的switch语句的语法 [系统软件]托拽Explore中的文件到VB.net的窗口 [系统软件]Boost库在XP+Visual C++.net中的安装 [常用软件]新配色面板:Paint.Net3.0RC1官方下载 [常用软件]用内建的“Net Meeting”聊天 [VB.NET程序]Henry的VB.NET之旅(三)—共享成员 [VB.NET程序]Henry的VB.NET之旅(二)—构造与析构 [VB.NET程序]Henry的VB.NET之旅(一)—失踪的窗体 [VB.NET程序]在托盘上显示Balloon Tooltip(VB.NET) [VB.NET程序]Henry手记-VB.NET中动态加载Treeview节点(二)
|