/// <summary> /// shows the form for getting information about the shapefile /// and retrieves user input (field name, shapefile name) /// returns true if successful /// </summary> public bool GetShapeInformation() { if (shapeForm == null) { shapeForm = new frmShapefile(m_MapWin); } // show the shapefile dialog if (shapeForm.ShowDialog() == DialogResult.OK) { m_ShpFileName = shapeForm.ShapeFileName; m_FieldName = shapeForm.FieldName; return(GetGridInformation()); } else { return(false); } }
public ShapeGridInfo(MapWindow.Interfaces.IMapWin IMapWin) { m_MapWin = IMapWin; shapeForm = new frmShapefile(m_MapWin); }
public ShapeGridInfo(MapWindow.Interfaces.IMapWin IMapWin) { m_MapWin = IMapWin; shapeForm = new frmShapefile(m_MapWin); }
/// <summary> /// shows the form for getting information about the shapefile /// and retrieves user input (field name, shapefile name) /// returns true if successful /// </summary> public bool GetShapeInformation() { if (shapeForm == null) { shapeForm = new frmShapefile(m_MapWin); } // show the shapefile dialog if (shapeForm.ShowDialog() == DialogResult.OK) { m_ShpFileName = shapeForm.ShapeFileName; m_FieldName = shapeForm.FieldName; return GetGridInformation(); } else { return false; } }