private void InitTools()
 {
     AddLayersTool     = new AddLayersTool(AxMap, this);
     EditingTool       = new EditingTool(AxMap, this);
     LayerHandlingTool = new LayerHandlingTool(AxMap, this);
     SelectObjectTool  = new SelectObjectTool(AxMap, this);
     ExportImportTool  = new ExportImportTool(AxMap, this);
     PrintTool         = new PrintTool(AxMap, this);
 }
 public bool SetLayerPosition(string name, LayerMoveType moveType)
 {
     return(LayerHandlingTool.SetLayerPosition(name, moveType));
 }
 public bool SetLayerVisible(string name, bool visible)
 {
     return(LayerHandlingTool.SetLayerVisible(name, visible));
 }
 public int ShapesCount(string name)
 {
     return(LayerHandlingTool.ShapesCount(name));
 }
 public bool ZoomToLayer(string name)
 {
     return(LayerHandlingTool.ZoomToLayer(name));
 }
 public bool RemoveAllLayers()
 {
     return(LayerHandlingTool.RemoveAllLayers());
 }
 public bool RemoveLayer(string name)
 {
     return(LayerHandlingTool.RemoveLayer(name));
 }
 // General layer handling methods
 public List <string> GetLayerNamesFromPostGISType(ResTBPostGISType type)
 {
     return(LayerHandlingTool.GetLayerNamesFromPostGISType(type));
 }