private IHandler _GetChangedMarkedObject(MouseEventArgs e, bool wasOnlyOneClick) { IHandler res = (wasOnlyOneClick ? _handlerFactory.GetPartOfShapeHandler(e.Location) : _handlerFactory.GetEntireShapeHandler(e.Location)); return(res); }