Exemplo n.º 1
0
 private void optimizerTabPage_DragDrop(object sender, DragEventArgs e)
 {
     if (e.Effect != DragDropEffects.None)
     {
         IOptimizer optimizer = e.Data.GetData(HeuristicLab.Common.Constants.DragDropDataFormat) as IOptimizer;
         if (e.Effect.HasFlag(DragDropEffects.Copy))
         {
             optimizer = (IOptimizer)optimizer.Clone();
         }
         Content.Optimizer = optimizer;
     }
 }