By Volvick Derose 1 - Tuesday, September 7, 2010
Couldn't find a way to enable the context menu and the keyboard from the following code
NKeyboardTool keyBoardTool = nDrawingView1.Controller.Tools.GetToolByName(NDWFR.ToolKeyboard) as NKeyboardTool; NContextMenuTool contextMenuTool = nDrawingView1.Controller.Tools.GetToolByName(NDWFR.ToolContextMenu) as NContextMenuTool; contextMenuTool.Enabled = true; keyBoardTool.Enabled = true; nDrawingView1.Controller.Tools.SingleEnableTool(NDWFR.ToolContextMenu); nDrawingView1.Controller.Tools.SingleEnableTool(NDWFR.ToolKeyboard);
|
|