/// <summary> /// 键盘弹起事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> void mapControl_eventKeyUp(object sender, _DHOSOFTMapControlEvents_eventKeyUpEvent e) { if (e.nChar == 17) { isControl = false; mapControl.IMGS_WorkStation_SelectTool("GIS_TOOL_NO"); } }
//地图控件键盘弹起事件 private void axMapControl_eventKeyUp(object sender, _DHOSOFTMapControlEvents_eventKeyUpEvent e) { if (Utils.bPublishEvent == false) { return; } MFKeyEventArgs args = new MFKeyEventArgs(); args.KeyEventArgs = new KeyEventArgs((Keys)e.nChar); if (KeyUpEvent != null) { KeyUpEvent.Invoke(this, args); } }