Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/27/12 11:44:01 (12 years ago)
Author:
ascheibe
Message:

#1959 added a comparer for sorting the jobs in the Hive Job Manager by date

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs

    r7259 r8702  
    4343      this.itemsListView.HeaderStyle = ColumnHeaderStyle.Clickable;
    4444      this.itemsListView.FullRowSelect = true;
     45
     46      this.itemsListView.ListViewItemSorter = new ListViewDateComparer(0, SortOrder.Ascending);
    4547      this.itemsListView.Sorting = SortOrder.Ascending;
    4648      this.itemsListView.Sort();
     
    5860        System.Windows.Forms.ListView.SelectedListViewItemCollection selectedItems = itemsListView.SelectedItems;
    5961        bool inProgress = false;
    60         foreach (ListViewItem item in selectedItems) {                                 
     62        foreach (ListViewItem item in selectedItems) {
    6163          RefreshableJob job = item.Tag as RefreshableJob;
    6264          if (job != null && job.IsProgressing) {
Note: See TracChangeset for help on using the changeset viewer.