public override void Set(object item, Entity ent)
        {
            TheEntity = ent;
            TheBaseSystem = item as BaseSystem;

            if (TheBaseSystem == null)
                return;

            SystemName.Text = TheBaseSystem.SystemName;

            SystemLocation.Set(TheBaseSystem.SystemLocation);
            SystemLocation.ValueChanged += new EventHandler(SystemLocation_ValueChanged);

            foreach (ComputerSystem computer in TheEntity.Computers)
                ControlComputer.Items.Add(computer);

            ControlComputer.SelectedItem = TheEntity.GetSystemByID(TheBaseSystem.ControlComputer);
        }
        protected TreeNode AddSystemNode(BaseSystem system, TreeNode locNode)
        {
            if (locNode == null)
                return null;

            TreeNode node = new TreeNode(BaseSystemInspector.GetSystemName(system));
            node.Tag = system;
            node.ImageIndex = 1;
            locNode.Nodes.Add(node);

            return node;
        }
 public static string GetSystemName(BaseSystem system)
 {
     return system.SystemName;
 }