/// <summary>
        /// Initializes a new instance of the <see cref="ToolStripShapeSelectorButton"/> class.
        /// </summary>
        public ToolStripShapeSelectorButton()
        {
            // Create shape image list
            _imgShape = new Dictionary<Core.ShapeType, Image>
            {
                {Core.ShapeType.Line, Properties.Resources.Line},
                {Core.ShapeType.IsoscelesTriangle, Properties.Resources.Triangle},
                {Core.ShapeType.Oblong, Properties.Resources.Quad},
                {Core.ShapeType.Polygon, Properties.Resources.Polygon},
                {Core.ShapeType.Ellipse, Properties.Resources.Ellipse}
            };

            // Create shape selector
            var control = new ShapeSelectorControl();
            control.ShapeSelected += control_ShapeSelected;

            // Add to dropdown list
            var dropdown = new ToolStripDropDown();
            dropdown.Items.Add(new ToolStripControlHost(control));

            DropDown = dropdown;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ToolStripShapeSelectorButton"/> class.
        /// </summary>
        public ToolStripShapeSelectorButton()
        {
            // Create shape image list
            _imgShape = new Dictionary <Core.ShapeType, Image>
            {
                { Core.ShapeType.Line, Properties.Resources.Line },
                { Core.ShapeType.IsoscelesTriangle, Properties.Resources.Triangle },
                { Core.ShapeType.Oblong, Properties.Resources.Quad },
                { Core.ShapeType.Polygon, Properties.Resources.Polygon },
                { Core.ShapeType.Ellipse, Properties.Resources.Ellipse }
            };

            // Create shape selector
            var control = new ShapeSelectorControl();

            control.ShapeSelected += control_ShapeSelected;

            // Add to dropdown list
            var dropdown = new ToolStripDropDown();

            dropdown.Items.Add(new ToolStripControlHost(control));

            DropDown = dropdown;
        }