private string goInfo(GoObject go) { if (go == null) { return("null"); } string info = " B=" + go.Bounds.ToString(); var baseNode = go as IBaseNode; if (baseNode != null) { info = baseNode.GetLongName() + info; } else { info = go.GetType().Name + info; } return(info); }