- Timestamp:
- 10/16/14 12:16:19 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimizer/3.3/OptimizerMultipleDocumentMainForm.cs
r11171 r11470 118 118 } 119 119 } 120 121 private void optimizerMainForm_DragEnter(object sender, DragEventArgs e) { 122 // perform type checking to ensure that the data being dragged is of an acceptable type 123 e.Effect = e.Data.GetDataPresent(DataFormats.FileDrop) ? DragDropEffects.Copy : DragDropEffects.None; 124 125 } 126 127 private void optimizerMainForm_DragDrop(object sender, DragEventArgs e) { 128 if (e.Data.GetDataPresent(DataFormats.FileDrop)) { 129 string[] files = (string[])e.Data.GetData(DataFormats.FileDrop); 130 FileManager.OpenFiles(files); 131 } 132 } 120 133 } 121 134 }
Note: See TracChangeset
for help on using the changeset viewer.