Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/12/10 23:54:19 (12 years ago)
Author:
mkommend
Message:

added possibility to change visibility of columns in StringConvertibleMatrixView (ticket #968)

File:
1 edited

Legend:

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

    r3314 r3316  
    240240            sortedColumnIndizes.Add(new KeyValuePair<int, SortOrder>(e.ColumnIndex, newSortOrder));
    241241        Sort();
    242       }
     242      } else if (e.Button == MouseButtons.Right) {
     243        if (Content.ColumnNames.Count() != 0)
     244          contextMenu.Show(MousePosition);
     245      }
     246
    243247      //}
    244248    }
     
    293297      }
    294298    }
     299
     300    private void ShowHideColumns_Click(object sender, EventArgs e) {
     301      new ColumnsVisibilityDialog(this.dataGridView.Columns.Cast<DataGridViewColumn>()).ShowDialog();
     302    }
    295303  }
    296304}
Note: See TracChangeset for help on using the changeset viewer.