Changeset 5380
- Timestamp:
- 01/26/11 13:21:51 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemSetView.cs
r5237 r5380 36 36 InitializeComponent(); 37 37 } 38 39 protected override void itemsListView_DragEnterOver(object sender, DragEventArgs e) { 40 base.itemsListView_DragEnterOver(sender, e); 41 if (e.Effect == DragDropEffects.Link || e.Effect == DragDropEffects.Move) { 42 T item = e.Data.GetData("Value") as T; 43 if (Content.Contains(item)) e.Effect = DragDropEffects.None; 44 } 45 } 38 46 } 39 47 }
Note: See TracChangeset
for help on using the changeset viewer.