NetGridExample
- Last UpdatedJun 02, 2022
- 1 minute read
Installation for this example is exactly the same as with previous examples (refer to AttributeBrowserAddin or ExamplesAddin for further information). After following these instructions, enter the module you want to use and, once loaded, bring up the customization window. This example differs to the Attributes browser as it doesn't create a command, so in order to load the grid you need to create a state button as before, but the command is done differently. Open the command dialog by clicking on the "…" button to the right of the field. For the type, select Command Class and for the class select DockedWindowStateCommand, finally click OK. Next click on the "…" button in the Arguments field and select the Void .ctor(System.String) constructor. For the window key, enter Grid Control Addin and then click OK to close the dialog.
Once this has been done, close the customization window and click on the new state button. The grid control window should appear just like any other form.