⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datagriditemcollection.cs

📁 不错的人事管理系统
💻 CS
字号:
using System;
using System.Collections;




namespace System.Web.UI.WebControls
{
	/// <summary>
	/// Summary description for DataGridItemCollection.
	/// </summary>
	public class DataGridItemCollection
	{
		private System.Collections.ArrayList items;


		public DataGridItemCollection(ArrayList items) : base() 
		{
			this.items = items;
		}

		
		public virtual void CopyTo(Array array, int index) 
		{
			IEnumerator local0;

			local0 = this.GetEnumerator();
			while (local0.MoveNext()) 
			{
				index = index + 1;
				array.SetValue(local0.Current, index);
			}
		}

		
		public virtual IEnumerator GetEnumerator() 
		{
			return this.items.GetEnumerator();
		}

		
		public virtual int Count
		{
			get
			{
				return this.items.Count;
			}
		}

		
		public bool IsReadOnly
		{
			get
			{
				return false;
			}
		}

		
		public virtual bool IsSynchronized 
		{
			get
			{
				return false;
			}
		}

		
		public DataGridItem this[int index]
		{
			get
			{
				return (DataGridItem) this.items[index];
			}
		}

		
		public virtual object SyncRoot
		{
			get
			{
				return this;
			}
		}

	}
}

⌨️ 快捷键说明

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