Пример #1
0
 /// <summary>
 /// Occurs when this command is clicked
 /// </summary>
 public override void OnClick()
 {
     if (DataEditCommon.g_pMyMapCtrl.CurrentTool != null)
         DataEditCommon.g_pMyMapCtrl.CurrentTool = null;
     FrmGoToXY frm = new FrmGoToXY();
     frm.Show(DataEditCommon.g_pAxMapControl.FindForm());
 }
Пример #2
0
        /// <summary>
        /// Occurs when this command is clicked
        /// </summary>
        public override void OnClick()
        {
            if (DataEditCommon.g_pMyMapCtrl.CurrentTool != null)
            {
                DataEditCommon.g_pMyMapCtrl.CurrentTool = null;
            }
            FrmGoToXY frm = new FrmGoToXY();

            frm.Show(DataEditCommon.g_pAxMapControl.FindForm());
        }