Beispiel #1
0
 public void refresh()
 {
     MyMapHelp.Show_IsVisiable(axMapControlZZT.Map, pLayer, "BID='" + BID + "'");
     pGeometry = setgeo(pGeometry);
     axMapControlZZT.Extent   = pGeometry.Envelope;
     axMapControlZZT.MapScale = blc;
     axMapControlZZT.ActiveView.Refresh();
 }
Beispiel #2
0
        private void tStripBtnOpen_Click(object sender, EventArgs e)
        {
            FrmManageZhzzt frm = new FrmManageZhzzt(this);

            if (frm.ShowDialog(this) == DialogResult.OK)
            {
                MyMapHelp.Show_IsVisiable(axMapControlZZT.Map, pLayer, "BID='" + BID + "'");
                pGeometry = setgeo(pGeometry);
                axMapControlZZT.Extent   = pGeometry.Envelope;
                axMapControlZZT.MapScale = blc;
                axMapControlZZT.ActiveView.Refresh();
            }
            else
            {
                MyMapHelp.Show_IsVisiable(axMapControlZZT.Map, pLayer, "BID='-1'");
            }
        }