예제 #1
0
 internal void AddSort(IRoleType subSortRoleType, SortDirection subSortDirection)
 {
     if (this.subSorter == null)
     {
         this.subSorter = new ExtentSort(subSortRoleType, subSortDirection);
     }
     else
     {
         this.subSorter.AddSort(subSortRoleType, subSortDirection);
     }
 }
예제 #2
0
파일: Extent.cs 프로젝트: lulzzz/allors2
        public override Allors.Extent AddSort(IRoleType roleType, SortDirection direction)
        {
            if (this.sorter == null)
            {
                this.sorter = new ExtentSort(roleType, direction);
            }
            else
            {
                this.sorter.AddSort(roleType, direction);
            }

            this.Invalidate();
            return(this);
        }