Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9505 for trunk/sources


Ignore:
Timestamp:
05/22/13 10:31:25 (12 years ago)
Author:
mkommend
Message:

#1677: Updated StringConvertibleMatrixView to copy only visible & selected cells.

File:
1 edited

Legend:

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

    r9456 r9505  
    340340
    341341      for (int i = minRowIndex; i <= maxRowIndex; i++) {
     342        if (!dataGridView.Rows[i].Visible) continue;
     343
    342344        int rowIndex = this.virtualRowIndices[i];
    343345        if (addRowNames) {
     
    515517    protected virtual void ShowHideColumns_Click(object sender, EventArgs e) {
    516518      new StringConvertibleMatrixColumnVisibilityDialog(this.dataGridView.Columns.Cast<DataGridViewColumn>()).ShowDialog();
     519      columnsTextBox.Text = dataGridView.Columns.GetColumnCount(DataGridViewElementStates.Visible).ToString();
    517520    }
    518521
Note: See TracChangeset for help on using the changeset viewer.