Changeset 13570


Ignore:
Timestamp:
01/27/16 16:46:02 (4 years ago)
Author:
mkommend
Message:

#2568: Changed access modifiers of UpdateRow/ColumnHeader in the StringConvertibleMatrix/ArrayView to public.

Location:
trunk/sources
Files:
4 edited

Legend:

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

    r12151 r13570  
    6969    }
    7070
    71     protected override void UpdateColumnHeaders() {
     71    public override void UpdateColumnHeaders() {
    7272      base.UpdateColumnHeaders();
    7373      if (columnVisibility != null && Content != null && columnVisibility.Count() == dataGridView.ColumnCount) {
     
    7979      }
    8080    }
    81     protected override void UpdateRowHeaders() {
     81    public override void UpdateRowHeaders() {
    8282      if (Content == null) return;
    8383      if (rowVisibility != null && rowVisibility.Count() != dataGridView.RowCount) return;
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleArrayView.cs

    r12012 r13570  
    103103    }
    104104
    105     protected virtual void UpdateRowHeaders() {
     105    public virtual void UpdateRowHeaders() {
    106106      int i = 0;
    107107      foreach (string elementName in Content.ElementNames) {
  • trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs

    r12983 r13570  
    160160    }
    161161
    162     protected virtual void UpdateColumnHeaders() {
     162    public virtual void UpdateColumnHeaders() {
    163163      HashSet<string> invisibleColumnNames = new HashSet<string>(dataGridView.Columns.OfType<DataGridViewColumn>()
    164164      .Where(c => !c.Visible && !string.IsNullOrEmpty(c.HeaderText)).Select(c => c.HeaderText));
     
    172172      }
    173173    }
    174     protected virtual void UpdateRowHeaders() {
     174    public virtual void UpdateRowHeaders() {
    175175      int index = dataGridView.FirstDisplayedScrollingRowIndex;
    176176      if (index == -1) index = 0;
  • trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionTableView.cs

    r13054 r13570  
    2525using System.Linq;
    2626using System.Windows.Forms;
    27 using HeuristicLab.Collections;
    2827using HeuristicLab.Core;
    2928using HeuristicLab.Data.Views;
     
    122121    }
    123122
    124     protected override void UpdateColumnHeaders() {
     123    public override void UpdateColumnHeaders() {
    125124      string[] colNames = base.Content.ColumnNames.ToArray();
    126125      int colCount = colNames.Length;
Note: See TracChangeset for help on using the changeset viewer.