public MapTileCollection Get_MapTile(TreeNodeCollection iTreeNode)
 {
     IEnumerator enumerator = null;
     MapTileCollection mapTileCollection = new MapTileCollection();
     mapTileCollection.Clear();
     try
     {
         enumerator = iTreeNode.GetEnumerator();
         while (enumerator.MoveNext())
         {
             TreeNode current = (TreeNode)enumerator.Current;
             mapTileCollection.Add(new MapTile(ShortType.FromObject(current.Tag), 0));
         }
     }
     finally
     {
         if (enumerator is IDisposable)
         {
             ((IDisposable)enumerator).Dispose();
         }
     }
     return mapTileCollection;
 }
 public MapTileCollection Get_MapTile(short iTileID)
 {
     MapTileCollection mapTileCollection = new MapTileCollection();
     mapTileCollection.Clear();
     mapTileCollection.Add(new MapTile(iTileID, 0));
     return mapTileCollection;
 }
 public MapTileCollection Get_MapTile(TreeNodeCollection iTreeNode)
 {
     MapTileCollection mapTileCollection = new MapTileCollection();
       mapTileCollection.Clear();
       try
       {
     foreach (TreeNode treeNode in iTreeNode)
       mapTileCollection.Add(new MapTile(ShortType.FromObject(treeNode.Tag), (short) 0));
       }
       finally
       {
     IEnumerator enumerator;
     if (enumerator is IDisposable)
       ((IDisposable) enumerator).Dispose();
       }
       return mapTileCollection;
 }