Ticket #2270: runcollectionview.patch
File runcollectionview.patch, 2.4 KB (added by abeham, 9 years ago) |
---|
-
HeuristicLab.Data.Views/3.3/StringConvertibleMatrixView.cs
122 122 dataGridView.ReadOnly = ReadOnly; 123 123 } 124 124 125 pr ivatevoid UpdateData() {125 protected virtual void UpdateData() { 126 126 rowsTextBox.Text = Content.Rows.ToString(); 127 127 rowsTextBox.Enabled = true; 128 128 columnsTextBox.Text = Content.Columns.ToString(); -
HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionBubbleChartView.cs
261 261 } 262 262 263 263 private void Content_Reset(object sender, EventArgs e) { 264 if (suppressUpdates) return; 264 265 if (InvokeRequired) 265 266 Invoke(new EventHandler(Content_Reset), sender, e); 266 267 else { -
HeuristicLab.Optimization.Views/3.3/RunCollectionViews/RunCollectionTableView.cs
116 116 Caption = Content != null ? Content.OptimizerName + " Table" : ViewAttribute.GetViewName(GetType()); 117 117 } 118 118 119 protected override void UpdateData() { 120 if (suppressUpdates) return; 121 base.UpdateData(); 122 } 123 119 124 protected override void UpdateColumnHeaders() { 120 125 HashSet<string> visibleColumnNames = new HashSet<string>(dataGridView.Columns.OfType<DataGridViewColumn>() 121 126 .Where(c => c.Visible && !string.IsNullOrEmpty(c.HeaderText)).Select(c => c.HeaderText)); … … 144 149 Invoke(new EventHandler(Content_UpdateOfRunsInProgressChanged), sender, e); 145 150 else { 146 151 suppressUpdates = Content.UpdateOfRunsInProgress; 147 if (!suppressUpdates) UpdateRowAttributes(); 152 if (!suppressUpdates) { 153 UpdateRowAttributes(); 154 UpdateData(); 155 } 148 156 } 149 157 } 150 158