I have to upgadre a Plug-in from Rhino5 to Rhino6. In the actual version I use this function:
Public Overrides Function OnLoadPlugIn() As Integer
If (m_docking_dialog Is Nothing) Then
m_docking_dialog = New MenuEle()
Dim cb As New RMA.UI.MRhinoUiDockBar(MenuEle.BarID(), “RI_Menu”, m_docking_dialog)
RMA.UI.MRhinoDockBarManager.CreateRhinoDockBar(Me, cb, False)
m_menu = New PlugInMenu()
I have two questions:
- What’s the function name that I have to use as first function when the plug-in is loading?
- With this function I load a form in a dockbar where there is a menu with other functions that the user can run. The items of this menu are loaded from a sql server database table. I have understood that the dockbar are not longer used, so what type of control have I to use?
Can someone help me, please? Thanks in advance.