Used by the context menu in sandbox.
Derives methods, etc not listed on this page from DForm.
ControlPanel:AddControl( string type, table controlinfo )
We advise against using this. It may be changed or removed in a future update. It is recommended to use DForm's members instead. Adds a control to the control panel.
ControlPanel:FillViaFunction( function func )
Calls the given function with this panel as the only argument. Used by the spawnmenu to populate the control panel.