- Timestamp:
- 04/20/10 03:55:36 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/RunView.cs
r3423 r3432 137 137 } 138 138 private void listView_ItemDrag(object sender, ItemDragEventArgs e) { 139 ListViewItem listViewItem = (ListViewItem)e.Item; 140 IItem item = (IItem)listViewItem.Tag; 141 DataObject data = new DataObject(); 142 data.SetData("Type", item.GetType()); 143 data.SetData("Value", item); 144 DragDropEffects result = DoDragDrop(data, DragDropEffects.Copy); 139 if (!Locked) { 140 ListViewItem listViewItem = (ListViewItem)e.Item; 141 IItem item = (IItem)listViewItem.Tag; 142 DataObject data = new DataObject(); 143 data.SetData("Type", item.GetType()); 144 data.SetData("Value", item); 145 DragDropEffects result = DoDragDrop(data, DragDropEffects.Copy); 146 } 145 147 } 146 148 private void showAlgorithmButton_Click(object sender, EventArgs e) {
Note: See TracChangeset
for help on using the changeset viewer.