protected void btnSelectAll_onClick()
        {
            //ChangeObjectsSelection(true);
            RectD unionRect = ObjectsList.First().BoundingRectD();

            foreach (BPaintObject obj in ObjectsList)
            {
                unionRect = unionRect.UnionWith(obj.BoundingRectD());
            }

            bpSelectionRectangle = new BPaintRectangle()
            {
                ObjectID = 999
            };

            BPaintVertex startVertex = new BPaintVertex(new PointD(unionRect.x - 10, unionRect.y - 10), "magenta");

            SelectionVerticesList.Add(startVertex);

            bpSelectionRectangle.Selected  = false;
            bpSelectionRectangle.EditMode  = true;
            bpSelectionRectangle.Color     = "red";
            bpSelectionRectangle.LineWidth = 2;
            bpSelectionRectangle.Position  = startVertex;
            BPaintVertex endVertex = new BPaintVertex(new PointD(unionRect.x + unionRect.width + 10, unionRect.y + unionRect.height + 10), "magenta");

            bpSelectionRectangle.end = endVertex;
            SelectionVerticesList.Add(endVertex);
            bpSelectionVertexUnderMousePointer = endVertex;

            ProcessSelection();
            cmd_RefreshSVG();
            StateHasChanged();
        }