private void newConnectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Entity.InternalLocation currentLoc = GetSelectedLocation();
            if (currentLoc == null)
                return;

            Entity.InternalLocation.ConnectionInfo con = new Entity.InternalLocation.ConnectionInfo();
            con.ConnectionPoint = new Vector3d(currentLoc.Origin); // start it at the sections origin
            currentLoc.Connections.Add(con);

            ComponentsList.SelectedNode = AddConnectionNode(con, GetSelectedLocationTreeNode());

            Dirty();
        }
 public override void Set(object item, Entity ent)
 {
     base.Set(item, ent);
     TheConnection = item as Entity.InternalLocation.ConnectionInfo;
 }