func init // adds using namespace sys.add_use('System.Windows.Forms') // initialize instance sys.add_widget('FlowLayoutPanel') // initialize properties sys.set_undef_field_const('FlowDirection', this.props('FlowDirection'), 'System.Windows.Forms.FlowDirection') sys.set_typed_field(104, 'WrapContents') // makes implementation methods for properties sys._prop_init('FlowDirection', 1, 1, 0) sys._prop_init('LayoutEngine', 1, 0, 0) sys._prop_init('WrapContents', 1, 1, 104) // makes implementation of methods as properties sys._mtd_as_prop_init('FlowLayoutPanel') // initialize common events and properties include("InheritPanel-init") include("ScrollableControl-init") include("Control-init") end func doGetFlowBreak(control) if(linked("onGetFlowBreak")) event("onGetFlowBreak", this.codename + '.GetFlowBreak(' + d("control") + ')') else blk.println(this.codename, '.GetFlowBreak(', d("control"), ');') end end func doSetFlowBreak(control, value) blk.println(this.codename, '.SetFlowBreak(', d("control"), ', ', d("value"), ');') end include("InheritPanel") include("ScrollableControl") include("Control")