using System;

namespace Netlm.DataGridGost
{
	public class EventPaginationArgs : System.EventArgs
	{
		//页大小
		private int _PageSize;
		public int PageSize
		{
			get
			{
				return _PageSize;
			}
			set
			{
				_PageSize = value;
			}
		}
		
		//当前页
		private int _CurrentPageIndex;
		public int CurrentPageIndex
		{
			get
			{
				return _CurrentPageIndex;
			}
			set
			{
				_CurrentPageIndex = value;
			}
		}
		
		//总记录数
		private int _SumCount;
		public int SumCount
		{
			get
			{
				return _SumCount;
			}
			set
			{
				_SumCount = value;
			}
		}
		
		//总页数
		private int _SumPage;
		public int SumPage
		{
			get
			{
				return _SumPage;
			}
			set
			{
				_SumPage = value;
			}
		}
		
		//是否是第一页
		private bool _IsFirst;
		public bool IsFirst
		{
			get
			{
				return _IsFirst;
			}
		}
		
		//是否是最后一页
		private bool _IsLast;
		public bool IsLast
		{
			get
			{
				return _IsLast;
			}
		}
		
		public EventPaginationArgs(int pagesize,int currentpageindex,int sumcount,int sumpage,bool isfirst ,bool islast)
		{
			//
			// TODO: 在此处添加构造函数逻辑
			//
			_PageSize = pagesize;
			_CurrentPageIndex = currentpageindex;
			_SumCount = sumcount;
			_SumPage = sumpage;
			_IsFirst = isfirst;
			_IsLast = islast;
		}
	}
}
