func init // adds using namespace sys.add_use('System.Windows.Forms') end func doGetMethod(args) event('onEquals', sys.to_type(args, 0) + '.Equals(' + d("obj") + ')') event('onGetHashCode', sys.to_type(args, 0) + '.GetHashCode()') event('onGetType', sys.to_type(args, 0) + '.GetType()') event('onToString', sys.to_type(args, 0) + '.ToString()') event('onCurrentValue', sys.to_type(args, 0) + '.CurrentValue') event('onIndex', sys.to_type(args, 0) + '.Index') event('onNewValue', sys.to_type(args, 0) + '.NewValue') end