void designPanel_Drop(object sender, DragEventArgs e)
{
try {
if (moveLogic != null) {
moveLogic.Stop();
if (moveLogic.ClickedOn.Services.Tool.CurrentTool is CreateComponentTool) {
moveLogic.ClickedOn.Services.Tool.CurrentTool = moveLogic.ClickedOn.Services.Tool.PointerTool;
}
moveLogic.DesignPanel.IsAdornerLayerHitTestVisible = true;
moveLogic = null;
changeGroup.Commit();
e.Handled = true;
}
} catch (Exception x) {
DragDropExceptionHandler.RaiseUnhandledException(x);
}
}