IronPython console: IronPython 2.0A4 (2.0.10904.02) on .NET 2.0.50727.31
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import clr
>>> clr.AddReference("System.Windows.Forms")
>>> from System.Windows.Forms import *
>>> control = TextBox()
>>> print control.__class__.__name__
Traceback (most recent call last):
  File , line 0, in ##19
  File , line 0, in _stub_##21
AttributeError: 'DynamicTypeTypeSlot' object has no attribute '__name__'

IronPython console: IronPython 2.0A3 (2.0.10724.00) on .NET 2.0.50727.312
Copyright (c) Microsoft Corporation. All rights reserved.
>>> import clr
>>> clr.AddReference("System.Windows.Forms")
>>> from System.Windows.Forms import *
>>> control = TextBox()
>>> print control.__class__.__name__
TextBox

Cheers,
Davy

-- 
Davy Mitchell
Blog - http://www.latedecember.co.uk/sites/personal/davy/
Twitter - http://twitter.com/daftspaniel
Skype - daftspaniel
needgod.com
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to