private void EditWMSBounds_Click(object sender, EventArgs e)
        {
            try
            {
                if (m_srslist == null)
                {
                    List <string> items = new List <string>();
                    foreach (OSGeo.MapGuide.MaestroAPI.CoordinateSystem.CoordinateSystemDefinitionBase c in m_connection.CoordinateSystemCatalog.Coordsys)
                    {
                        if (c.Code.StartsWith("EPSG:")) //NOXLATE
                        {
                            items.Add(c.Code);
                        }
                    }

                    m_srslist = items.ToArray();
                }
            }
            catch
            {
            }

            BoundsPicker bp = new BoundsPicker(WMSBounds.Text, m_srslist);

            if (bp.ShowDialog(this) == DialogResult.OK)
            {
                WMSBounds.Text = bp.SRSBounds;
            }
        }
        private void EditWFSBounds_Click(object sender, EventArgs e)
        {
            BoundsPicker bp = new BoundsPicker(WFSBounds.Text, null);

            if (bp.ShowDialog(this) == DialogResult.OK)
            {
                WFSBounds.Text = bp.SRSBounds;
            }
        }
        private void EditWMSBounds_Click(object sender, EventArgs e)
        {
            try
            {
                if (m_srslist == null)
                {
                    List<string> items = new List<string>();
                    foreach (OSGeo.MapGuide.MaestroAPI.CoordinateSystem.CoordinateSystemDefinitionBase c in m_connection.CoordinateSystemCatalog.Coordsys)
                    {
                        if (c.Code.StartsWith("EPSG:")) //NOXLATE
                            items.Add(c.Code);
                    }

                    m_srslist = items.ToArray();
                }
            }
            catch
            {
            }

            BoundsPicker bp = new BoundsPicker(WMSBounds.Text, m_srslist);
            if (bp.ShowDialog(this) == DialogResult.OK)
                WMSBounds.Text = bp.SRSBounds;
        }
 private void EditWFSBounds_Click(object sender, EventArgs e)
 {
     BoundsPicker bp = new BoundsPicker(WFSBounds.Text, null);
     if (bp.ShowDialog(this) == DialogResult.OK)
         WFSBounds.Text = bp.SRSBounds;
 }