Changeset 3731
- Timestamp:
- 05/10/10 03:53:55 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunView.cs
r3638 r3731 167 167 ListViewItem listViewItem = (ListViewItem)e.Item; 168 168 IItem item = (IItem)listViewItem.Tag; 169 DataObject data = new DataObject(); 170 data.SetData("Type", item.GetType()); 171 data.SetData("Value", item); 172 DragDropEffects result = DoDragDrop(data, DragDropEffects.Copy); 169 if (item != null) { 170 DataObject data = new DataObject(); 171 data.SetData("Type", item.GetType()); 172 data.SetData("Value", item); 173 DragDropEffects result = DoDragDrop(data, DragDropEffects.Copy); 174 } 173 175 } 174 176 }
Note: See TracChangeset
for help on using the changeset viewer.