Esempio n. 1
0
 private void axPageLayoutControl_OnMouseUp(object sender, IPageLayoutControlEvents_OnMouseUpEvent e)
 {
     if (_App.CurrentTool != null)
     {
         _Tool = _ToolCol[_App.CurrentTool];
         _Tool.OnMouseUp(e.button, e.shift, (int)e.pageX, (int)e.pageY);
     }
 }
Esempio n. 2
0
 private void axMapControl_OnMouseUp(object sender, IMapControlEvents2_OnMouseUpEvent e)
 {
     if (_App.CurrentTool != null)
     {
         _Tool = _ToolCol[_App.CurrentTool];
         _Tool.OnMouseUp(e.button, e.shift, (int)e.mapX, (int)e.mapY);
     }
     toolStripStatusLabel2.Text = " 当前坐标X:" + e.mapX.ToString() + "  Y:" + e.mapY.ToString();
 }