Changeset 8870
- Timestamp:
- 11/05/12 17:44:58 (12 years ago)
- Location:
- trunk/sources
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixColumnVisibilityDialog.Designer.cs
r8833 r8870 26 26 components = new System.ComponentModel.Container(); 27 27 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 28 this.Text = "Show/Hide Columns"; 29 this.Name = "ColumnsVisibilityDialog"; 28 30 } 29 31 -
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixColumnVisibilityDialog.cs
r8833 r8870 31 31 public StringConvertibleMatrixColumnVisibilityDialog(IEnumerable<DataGridViewColumn> columns) 32 32 : base(columns) { 33 InitializeComponent(); 33 34 } 34 35 -
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixRowVisibilityDialog.Designer.cs
r8833 r8870 26 26 this.components = new System.ComponentModel.Container(); 27 27 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 28 this.Text = "StringConvertibleMatrixRowVisibilityDialog"; 28 this.Text = "Show/Hide Rows"; 29 this.Name = "RowsVisibilityDialog"; 29 30 } 30 31 -
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixRowVisibilityDialog.cs
r8833 r8870 31 31 public StringConvertibleMatrixRowVisibilityDialog(IEnumerable<DataGridViewRow> rows) 32 32 : base(rows) { 33 InitializeComponent(); 33 34 } 34 35 -
trunk/sources/HeuristicLab.Data.Views/3.3/StringConvertibleMatrixVisibilityDialog.Designer.cs
r8833 r8870 99 99 this.ShowInTaskbar = false; 100 100 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; 101 this.Text = "Show/Hide Columns";101 this.Text = "Show/Hide"; 102 102 this.ResumeLayout(false); 103 103 -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/FeatureCorrelation/EnhancedStringConvertibleMatrixView.cs
r8861 r8870 67 67 } 68 68 protected override void UpdateRowHeaders() { 69 base.UpdateRowHeaders();70 69 if (rowVisibility != null && Content != null && rowVisibility.Count() == dataGridView.RowCount) { 71 int i = 0; 72 foreach (var visibility in rowVisibility) { 73 dataGridView.Rows[i].Visible = visibility; 74 i++; 70 int[] realRowIndex = Enumerable.Range(0, Content.Rows).ToArray(); 71 int[] helper = new int[virtualRowIndices.Length]; 72 Array.Copy(virtualRowIndices, helper, virtualRowIndices.Length); 73 Array.Sort(helper, realRowIndex); 74 for (int i = 0; i < dataGridView.RowCount; i++) { 75 dataGridView.Rows[realRowIndex[i]].Visible = rowVisibility.ElementAt(i); 75 76 } 76 77 } 78 base.UpdateRowHeaders(); 77 79 } 78 80
Note: See TracChangeset
for help on using the changeset viewer.