protected override void onDragLeave(object sender, DragDropEventArgs e) { base.onDragLeave(sender, e); GraphicObjectDesignContainer godc = e.DragSource.DataSource as GraphicObjectDesignContainer; if (godc == null) { return; } ClearDraggedObj(); }
protected override void onDragEnter(object sender, DragDropEventArgs e) { base.onDragEnter(sender, e); GraphicObjectDesignContainer godc = e.DragSource.DataSource as GraphicObjectDesignContainer; if (godc == null) { return; } createDraggedObj(godc.CrowType); }