void _view_OnGetItems(object sender, InsightGridArg e)
 {
     if (e.ListType == 0)
     {
         e.ListType = GridListType.LIST;
     }
     GetItemResults(e);
 }
        void GetItemResults(InsightGridArg e)
        {
            int count = 0;

            _view.ResultSet = new UserServices().
                              GetPagedList(_view.CurrentPageIndex, _view.PageSize, out count).
                              ToList <User>();
            _view.VirtualItemCount = count;
            _view.LoadResultSet(e);
        }
 void _view_OnListTypeChanged(object sender, InsightGridArg e)
 {
     MessageBus <InsightGridArg> .SendMessage(this, e);
 }
 void _listToolBarView_OnPageSizeChanged(object sender, InsightGridArg e)
 {
     MessageBus <InsightGridArg> .SendMessage(this, e);
 }
 void Presenter_MessageReceived(object sender, InsightGridArg e)
 {
     _view.ListType = e.ListType;
     _view.PageSize = e.PageSize;
     GetItemResults(e);
 }