vgui.RegisterTable
		Example
local CustomPanel 
= {
    Init 
= function( self )
        
self:
SetSize( 
200, 
100 )
    
end,
    Paint 
= function( self, w, h )
        
surface.
SetDrawColor( 
0, 
255, 
0, 
255 )
        
surface.
DrawRect( 
0, 
0, w, h)
    
end,
}
local my_custom_panel 
= vgui.
RegisterTable( CustomPanel, 
"Panel" ) 
local panel 
= vgui.
CreateFromTable( my_custom_panel ) 
panel:
SetPos( 
50, 
50 )