CADability dotNET
The CADControl type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Dispose |
Clean up any resources being used.
(Overrides Control..::..Dispose(Boolean).) |
![]() | ExecuteMenu |
CADability handles many commands invoked by the user interface. You will find all valid MenuIds in the MenuResource.xml
file, that is provided with the installation. Use this method to invoke the execution of the desired action.
|
![]() | OnHandleCreated | (Overrides Control..::..OnHandleCreated(EventArgs).) |
![]() | OnPaint | (Overrides Control..::..OnPaint(PaintEventArgs).) |
![]() | OnSizeChanged | (Overrides Control..::..OnSizeChanged(EventArgs).) |
![]() | ShowFile |
Displays the provided file in the control. The following file formats are supported:
|
![]() | UpdateMenu |
If you use your own menu or toolbars and forward the execution of a menu via ExecuteMenu(String) to CADability you must
know in advance the state of the menu items (like enabled or checked).
When dropping down a menu is a good trigger to request for the states of the menu items. Toolbar items are
usually updated on the OnIdle event of the application.
|