Example #1
0
        protected override void onDragLeave(object sender, DragDropEventArgs e)
        {
            base.onDragLeave(sender, e);
            GraphicObjectDesignContainer godc = e.DragSource.DataSource as GraphicObjectDesignContainer;

            if (godc == null)
            {
                return;
            }
            ClearDraggedObj();
        }
Example #2
0
        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);
        }