Changeset 4763 for trunk/sources/HeuristicLab.Analysis
- Timestamp:
- 11/10/10 14:03:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Analysis/3.3/DataTable.cs
r4722 r4763 186 186 public event EventHandler<EventArgs<int, int>> ItemChanged; 187 187 private void OnItemChanged(int rowIndex, int columnIndex) { 188 if (ItemChanged != null)189 ItemChanged(this, new EventArgs<int, int>(rowIndex, columnIndex));188 var handler = ItemChanged; 189 if (handler != null) handler(this, new EventArgs<int, int>(rowIndex, columnIndex)); 190 190 OnToStringChanged(); 191 191 } 192 192 public event EventHandler Reset; 193 193 private void OnReset() { 194 if (Reset != null)195 Reset(this, EventArgs.Empty);194 var handler = Reset; 195 if (handler != null) handler(this, EventArgs.Empty); 196 196 } 197 197 public event EventHandler ColumnNamesChanged; 198 198 private void OnColumnNamesChanged() { 199 EventHandler handler = ColumnNamesChanged; 200 if (handler != null) 201 handler(this, EventArgs.Empty); 199 var handler = ColumnNamesChanged; 200 if (handler != null) handler(this, EventArgs.Empty); 202 201 } 203 202 public event EventHandler RowNamesChanged; 204 203 private void OnRowNamesChanged() { 205 EventHandler handler = RowNamesChanged; 206 if (handler != null) 207 handler(this, EventArgs.Empty); 204 var handler = RowNamesChanged; 205 if (handler != null) handler(this, EventArgs.Empty); 208 206 } 209 207 public event EventHandler SortableViewChanged; 210 208 private void OnSortableViewChanged() { 211 EventHandler handler = SortableViewChanged; 212 if (handler != null) 213 handler(this, EventArgs.Empty); 209 var handler = SortableViewChanged; 210 if (handler != null) handler(this, EventArgs.Empty); 214 211 } 215 212 #endregion
Note: See TracChangeset
for help on using the changeset viewer.