This project is read-only.

How to Click ToolButtons Programatically?

Feb 20, 2012 at 9:28 PM


From inside say Page.cs... How would you programatically click one of the ToolButtons?

I tried several ways but in evertry case I keep getting a null exception.

So if I want to Click a toolButton programatically from inside of Page.cs how do you do it?

The method calls made and properties set by clicking a button would be easier to work with if they were reachable from Page.cs.

Can you give us one example of how to click a toolbutton programatically? Thanks!