func init // adds using namespace sys.add_use('System.Windows.Forms') // initialize instance sys.add_object(this.codename, 'FolderBrowserDialog') // initialize properties sys.set_undef_field('Description') sys.set_undef_field_const('RootFolder', this.props('RootFolder'), 'System.Environment.SpecialFolder') sys.set_undef_field('SelectedPath') sys.set_typed_field(104, 'ShowNewFolderButton') // make methods for properties sys._prop_init('Description', 1, 1, 2) sys._prop_init('RootFolder', 1, 1, 0) sys._prop_init('SelectedPath', 1, 1, 2) sys._prop_init('ShowNewFolderButton', 1, 1, 104) // makes implementation of simple methods sys._method_init('Reset') // initialize common events and properties include("CommonDialog-init") include("Component-init") end include("CommonDialog")