|
Group: Forum Members
Posts: 71,
Visits: 1
|
To add a shape to the toolbar, you can handle the onclick event and do something like that inside the onlclick event
I assume you want to add the shape to the document when a user clicks on that button
MyClass myClass = new MyClass();
NGroup myGroup //do something here from your class
nDrawingDocument1.ActiveLayer.AddChild(myGroup);//that will add the shape to the drawing document //when user clicks on the button on the toolbar
|