public void SelectDescription(Description description, Point clickPoint)
        {
            description.IsSelected = true;
            description.MouseDownCommand.Execute();

            MouseSelection = new CanvasMouseSelection(IntervalMouseAction.Dragging, description,
                XPosToMilliseconds(clickPoint.X) - description.StartInVideo);

            CaptureMouse();
        }
        private void SelectSpace(Space space, Point clickPoint)
        {
            space.IsSelected = true;
            space.MouseDownCommand.Execute();

            if (IsBetweenBounds(space.X - SelectionPixelWidth, clickPoint.X, space.X + SelectionPixelWidth))
            {
                MouseSelection = new CanvasMouseSelection(IntervalMouseAction.ChangeStartTime, space,
                    XPosToMilliseconds(clickPoint.X) - space.StartInVideo);
            }
            else if (IsBetweenBounds(space.X + space.Width - SelectionPixelWidth, clickPoint.X,
                space.X + space.Width + SelectionPixelWidth))
            {
                MouseSelection = new CanvasMouseSelection(IntervalMouseAction.ChangeEndTime, space,
                    XPosToMilliseconds(clickPoint.X) - space.EndInVideo);
            }
            else
            {
                MouseSelection = new CanvasMouseSelection(IntervalMouseAction.Dragging, space,
                    XPosToMilliseconds(clickPoint.X) - space.StartInVideo);
            }

            CaptureMouse();
        }