private static Visgroup ReadVisgroup(GenericStructure visgroup) { var v = new Visgroup { Name = visgroup["name"], ID = visgroup.PropertyInteger("visgroupid"), Colour = visgroup.PropertyColour("color", Colour.GetRandomBrushColour()), Visible = true }; return(v); }
private static Visgroup ReadVisgroup(GenericStructure visgroup) { var v = new Visgroup { Name = visgroup["name"], ID = visgroup.PropertyInteger("visgroupid"), Colour = visgroup.PropertyColour("color", Colour.GetRandomBrushColour()), Visible = true }; return v; }