Nevron Forum

Change Tool Programmatically

https://www.nevron.com/Forum/Topic6162.aspx

By Ashley Davy - Friday, February 24, 2012

How do I programmatically change the selected tool on the NDrawingView control.  Currently when you select a tool it stays selected until you choose a new tool.  What I would like to do is after a rectangle is added change the tool to NSelector tool.

Thanks,

Ashley

By Nevron Support - Friday, February 24, 2012

NDrawingView nDrawingView = new NDrawingView();
...
nDrawingView.Controller.Tools.SingleEnableTool(NDWFR.ToolSelector);