- Timestamp:
- 05/05/10 14:04:53 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunCollectionTabularView.cs
r3614 r3632 95 95 } 96 96 private void run_Changed(object sender, EventArgs e) { 97 IRun run = (IRun)sender; 98 UpdateRun(run); 97 if (InvokeRequired) 98 this.Invoke(new EventHandler(run_Changed), sender, e); 99 else { 100 IRun run = (IRun)sender; 101 UpdateRun(run); 102 } 99 103 } 100 104 … … 104 108 this.dataGridView.Rows[rowIndex].Visible = run.Visible; 105 109 this.dataGridView.Rows[rowIndex].DefaultCellStyle.ForeColor = run.Color; 110 this.rowsTextBox.Text = this.Content.Count(r => r.Visible).ToString(); 106 111 } 107 112
Note: See TracChangeset
for help on using the changeset viewer.