diff --git a/EduNetworkBuilder/Network.cs b/EduNetworkBuilder/Network.cs index c780425..69c3463 100644 --- a/EduNetworkBuilder/Network.cs +++ b/EduNetworkBuilder/Network.cs @@ -1167,6 +1167,20 @@ namespace EduNetworkBuilder } return Descriptions; } + /// + /// This is used by the NetTest editor to list all the shape names we can lock a device into + /// + /// A list of the names of all the rectangles + public List RectangleNames() + { + List Descriptions = new List(); + foreach (NetShape NS in Shapes) + { + if(NS.MyShape == NetShapeType.rectangle) + Descriptions.Add(NS.Name); + } + return Descriptions; + } void KillAllExtraWindows(bool EvenRTF=false) {