internal void setCursor(PointF point, FlowChart fc) { if (action == Action.Create) { Cursor cursor = currentObject.allowCreate(point) ? currentObject.getCanDropCursor() : currentObject.getCannotDropCursor(); if (cursor != null) { fc.Cursor = cursor; } } if (action == Action.Modify) { Cursor cursor = currentObject.allowModify(point) ? currentObject.getCanDropCursor() : currentObject.getCannotDropCursor(); if (cursor != null) { fc.Cursor = cursor; } else { fc.Cursor = fc.getCurrBehavior().getCurrentCursor(); } } }