Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/11/14 15:33:04 (10 years ago)
Author:
sbreuer
Message:
  • derive StringConvertibleMatrixView from core
  • delete PreprocessingStringConvertibleMatrixView
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs

    r9505 r11000  
    3636  public partial class StringConvertibleMatrixView : AsynchronousContentView {
    3737    protected int[] virtualRowIndices;
    38     private List<KeyValuePair<int, SortOrder>> sortedColumnIndices;
     38    protected List<KeyValuePair<int, SortOrder>> sortedColumnIndices;
    3939    private RowComparer rowComparer;
    4040
     
    261261
    262262    #region DataGridView Events
    263     private void dataGridView_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) {
     263    protected virtual void dataGridView_CellValidating(object sender, DataGridViewCellValidatingEventArgs e) {
    264264      if (!dataGridView.ReadOnly) {
    265265        string errorMessage;
     
    270270      }
    271271    }
    272     private void dataGridView_CellParsing(object sender, DataGridViewCellParsingEventArgs e) {
     272    protected virtual void dataGridView_CellParsing(object sender, DataGridViewCellParsingEventArgs e) {
    273273      if (!dataGridView.ReadOnly) {
    274274        string value = e.Value.ToString();
     
    364364    }
    365365
    366     private void PasteValuesToDataGridView() {
     366    protected virtual void PasteValuesToDataGridView() {
    367367      string[,] values = SplitClipboardString(Clipboard.GetText());
    368368      int rowIndex = 0;
     
    432432    }
    433433
    434     private void Sort() {
     434    protected void Sort() {
    435435      virtualRowIndices = Sort(sortedColumnIndices);
    436436      UpdateSortGlyph();
     
    542542    }
    543543
    544     private void dataGridView_SelectionChanged(object sender, EventArgs e) {
     544    protected virtual void dataGridView_SelectionChanged(object sender, EventArgs e) {
    545545      string stringFormat = "{0,20:0.0000}";
    546546      statisticsTextBox.Text = string.Empty;
Note: See TracChangeset for help on using the changeset viewer.