private void BuildBoard()
        {
            RegionContainer anchorsContainer = new RegionContainer(0, 50, 100, 50, RegionContainer.OrientationType.HORIZONTAL);

            anchorsContainer.SetAcceptElement(anchor);
            BoardRegion[] regions = new BoardRegion[3];
            Color         red     = new Color(255, 0, 0);

            for (int i = 0; i < 3; i++)
            {
                regions[i] = new BoardRegion(red, 0.1f * (i + 1), "Nazwa");
                regions[i].PopupAttribute = "Opis";
                regions[i].Attributes.Add(new BoardRegion.Attribute("Głębokość", ((EnumType)anchor.GetAttribute("Głębokość").Type).Domain[i]));
                anchorsContainer.AddRegion(regions[i]);
            }
            speedBoat.Board.AddContainer(anchorsContainer);

            RegionContainer propellersContainer = new RegionContainer(0, 0, 50, 50, RegionContainer.OrientationType.HORIZONTAL);

            propellersContainer.SetAcceptElement(propeller);

            Color blue = new Color(0, 0, 255);

            for (int i = 0; i < 3; i++)
            {
                regions[i] = new BoardRegion(blue, 0.1f * (i + 1), "Nazwa");
                regions[i].PopupAttribute = "Opis";
                regions[i].Attributes.Add(new BoardRegion.Attribute("Siła", ((EnumType)propeller.GetAttribute("Siła").Type).Domain[i]));
                propellersContainer.AddRegion(regions[i]);
            }
            speedBoat.Board.AddContainer(propellersContainer);
        }
        private void BuildBoard()
        {
            var featureContainer = new RegionContainer(4, 25, 92, 71, RegionContainer.OrientationType.HORIZONTAL);

            featureContainer.SetAcceptElement(feature);
            BoardRegion r1 = new BoardRegion(new Color(255, 255, 0), 0.1f, "Nazwa");

            r1.PopupAttribute = "Opis";

            featureContainer.AddRegion(r1);
            baf.Board.AddContainer(featureContainer);
        }