温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:LiveBlog v1.0测试版源码
当前文件:
LiveBlog/LiveBlog.Web/Admin/EditorBasic.ascx.cs,打开代码结构图
LiveBlog/LiveBlog.Web/Admin/EditorBasic.ascx.cs,打开代码结构图1using System; 2
using System.Data; 3
using System.Configuration; 4
using System.Collections; 5
using System.Web; 6
using System.Web.Security; 7
using System.Web.UI; 8
using System.Web.UI.WebControls; 9
using System.Web.UI.WebControls.WebParts; 10
using System.Web.UI.HtmlControls; 11
12
public partial class Admin_EditorBasic : System.Web.UI.UserControl 13
{ 14
public string Text 15
{ 16
get { return txtDescription.Text; } 17
set { txtDescription.Text = value; } 18
} 19
20
public short TabIndex 21
{ 22
get { return txtDescription.TabIndex; } 23
set { txtDescription.TabIndex = value; } 24
} 25
26
private Unit _editHeight; 27
public Unit Height 28
{ 29
get { return _editHeight; } 30
set { _editHeight = value; } 31
} 32
33
private Unit _editWidth; 34
public Unit Width 35
{ 36
get { return _editWidth; } 37
set { _editWidth = value; } 38
} 39
40
protected void Page_Load(object sender, EventArgs e) 41
{ 42
txtDescription.Width = Width; 43
txtDescription.Height = Height; 44
} 45
} 46





}
}