func init // adds using namespace sys.add_use('System') 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('onCancel', sys.to_type(args, 0) + '.Cancel') event('onSpecialKey', sys.to_type(args, 0) + '.SpecialKey') end func doCancel(args) blk.println(sys.to_type(args, 0), '.Cancel = ', d('value'), ';') end