protected void ProcessSelection()
        {
            if (bpSelectionRectangle is null)
            {
                cmd_Clear_Selection();
                return;
            }

            RectD SelectionRect = bpSelectionRectangle.BoundingRectD(padding: false);

            foreach (BPaintObject obj in ObjectsList)
            {
                RectD currObjBoundingRect = obj.BoundingRectD(padding: false);
                if (currObjBoundingRect.IsInRect(SelectionRect))
                {
                    obj.Selected = true;
                }
                else
                {
                    obj.Selected = false;
                }
            }
        }