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('onCancel', sys.to_type(args, 0) + '.Cancel') event('onIsValidInput', sys.to_type(args, 0) + '.IsValidInput') event('onMessage', sys.to_type(args, 0) + '.Message') event('onReturnValue', sys.to_type(args, 0) + '.ReturnValue') event('onValidatingType', sys.to_type(args, 0) + '.ValidatingType') end