Beispiel #1
0
        internal bool DrawScale()
        {
            ScaleForm dial = new ScaleForm(this.MapScale);

            if (dial.ShowDialog() == DialogResult.OK)
            {
                SetCenterAndScale(m_MapPanelExtent.Center, dial.MapScale, true);
            }

            dial.Dispose();
            return(true);
        }
Beispiel #2
0
        private void ctxScaleMenuItem_Click(object sender, EventArgs e)
        {
            MapControl mc   = this.magnifyMapControl;
            ScaleForm  dial = new ScaleForm(mc.MapScale);

            if (dial.ShowDialog() == DialogResult.OK)
            {
                mc.SetCenterAndScale(m_Tool.RightClickPosition, dial.MapScale, false);
            }

            dial.Dispose();
            //this.magnifyMapControl.DrawScale();
        }
Beispiel #3
0
        internal bool DrawScale()
        {
            ScaleForm dial = new ScaleForm(this.MapScale);
            if (dial.ShowDialog() == DialogResult.OK)
                SetCenterAndScale(m_MapPanelExtent.Center, dial.MapScale, true);

            dial.Dispose();
            return true;
        }
Beispiel #4
0
        private void ctxScaleMenuItem_Click(object sender, EventArgs e)
        {
            MapControl mc = this.magnifyMapControl;
            ScaleForm dial = new ScaleForm(mc.MapScale);
            if (dial.ShowDialog() == DialogResult.OK)
                mc.SetCenterAndScale(m_Tool.RightClickPosition, dial.MapScale, false);

            dial.Dispose();
            //this.magnifyMapControl.DrawScale();
        }