This project is read-only.

Access the main form from my plugin

Feb 8, 2011 at 3:53 AM

I need to find the current position and size of the main form from my DotSpatial plugin. Could we add a 'MainForm' property to the AppManager or to the IMapPluginArgs interface?

I need this feature, because my plugin launches a dialog window and I want to control the position of the dialog window.

Any other ideas, how I could access the main form from my plugin?

Feb 8, 2011 at 4:14 PM

It seems like it would be better to pass a control off to DotSpatial and free every plugin developer from needing to worry about docking, etc.