func init // adds using namespace sys.add_use('System.Windows.Forms') // initialize instance sys.add_widget('ToolStripPanel') // makes implementation methods for properties sys._prop_init('LayoutEngine', 1, 0, 0) sys._prop_init('Locked', 1, 1, 104) sys._prop_init('Orientation', 1, 1, 0) sys._prop_init('Renderer', 1, 1, 0) sys._prop_init('RenderMode', 1, 1, 0) sys._prop_init('RowMargin', 1, 1, 0) sys._prop_init('Rows', 1, 0, 0) // makes implementation of methods as properties sys._mtd_as_prop_init('ToolStripPanel') // makes implementation of simple methods sys._method_init('BeginInit') sys._method_init('EndInit') // initialize properties this.init_props(blk_init) end func init_props(blk_out) sys.blk_init_store(blk_out) // initialize properties sys.set_typed_field(14, 'Orientation', '', 'System.Windows.Forms.Orientation') sys.set_typed_field(14, 'RenderMode', '', 'System.Windows.Forms.ToolStripRenderMode') sys.set_typed_field(20, 'RowMargin') // initialize events if(not (this.onRendererChanged == 'defined')) sys.event_imp('onRendererChanged') end sys.event_add('onRendererChanged', '', '', '', this.codename) // initialize common events and properties include("ContainerControl-init") include("ScrollableControl-init") include("Control-init") sys.blk_init_restore(blk_out) end func doConstructor() blk.println(this.codename, ' = new ToolStripPanel();') this.init_props(blk) end func doJoin(data) blk.println(this.codename, '.Join(', d("toolStripToDrag"), ');') end func doJoin2(data) blk.println(this.codename, '.Join(', d("toolStripToDrag"), ', ', d("location"), ');') end func doJoin3(data) blk.println(this.codename, '.Join(', d("toolStripToDrag"), ', ', d("row"), ');') end func doJoin4(data) blk.println(this.codename, '.Join(', d("toolStripToDrag"), ', ', d("x"), ', ', d("y"), ');') end func doPointToRow(data) if(linked("onPointToRow")) event("onPointToRow", this.codename + '.PointToRow(' + d("clientLocation") + ')') else blk.println(this.codename, '.PointToRow(', d("clientLocation"), ');') end end include("ContainerControl") include("ScrollableControl") include("Control")