Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/09/10 15:34:47 (13 years ago)
Author:
mkommend
Message:

adapted the ColumnsVisibilityDialog and corrected copy and past support in the StringConvertibleMatrixView (ticket #1134)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Data.Views/3.3/ColumnsVisibilityDialog.cs

    r4068 r4178  
    5252      this.columns[e.Index].Visible = e.NewValue == CheckState.Checked;
    5353    }
     54
     55    private void btnShowAll_Click(object sender, System.EventArgs e) {
     56      for (int i = 0; i < checkedListBox.Items.Count; i++)
     57        checkedListBox.SetItemChecked(i, true);
     58    }
     59    private void btnHideAll_Click(object sender, System.EventArgs e) {
     60      for (int i = 0; i < checkedListBox.Items.Count; i++)
     61        checkedListBox.SetItemChecked(i, false);
     62    }
    5463  }
    5564}
Note: See TracChangeset for help on using the changeset viewer.