editfaceitem.cs

来自「《Visual Basic案例开发》一书的源代码」· CS 代码 · 共 81 行

CS
81
字号
using System;

namespace _36Hang.Web.UI.WebControls
{
	public class EditFaceItem
	{
		private string _Type;
		private string _ID;
		private string _Caption;
		private string _Field;
		private EditFaceItemLabel _Label;
		private EditFaceItemTextBox _TextBox;
		private EditFaceItemCheckBox _CheckBox;
		private EditFaceItemDropDownList _DropDownList;
		private EditFaceItemCalendar _Calendar;
		
		public EditFaceItem()
		{
			_Label = new EditFaceItemLabel();
			_TextBox = new EditFaceItemTextBox();
			_CheckBox = new EditFaceItemCheckBox();
			_DropDownList = new EditFaceItemDropDownList();
			_Calendar = new EditFaceItemCalendar();
		}

		public string Type
		{
			get { return _Type; }
			set { _Type = value; }
		}

		public string ID
		{
			get { return _ID; }
			set { _ID = value; }
		}

		public string Caption
		{
			get { return _Caption; }
			set { _Caption = value; }
		}

		public string Field
		{
			get { return _Field; }
			set { _Field = value; }
		}

		public EditFaceItemLabel Label
		{
			get { return this._Label; }
			set { this._Label = value; }
		}

		public EditFaceItemTextBox TextBox
		{
			get { return this._TextBox; }
			set { this._TextBox = value; }
		}

		public EditFaceItemCheckBox CheckBox
		{
			get { return this._CheckBox; }
			set { this._CheckBox = value; }
		}

		public EditFaceItemDropDownList DropDownList
		{
			get { return this._DropDownList; }
			set { this._DropDownList = value; }
		}

		public EditFaceItemCalendar Calendar
		{
			get { return this._Calendar; }
			set { this._Calendar = value; }
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?