import clr
clr.AddReference('System.Windows.Forms')
from System.Windows.Forms import DialogResult
if DialogResult.OK:
print "Boo!"
The above prints Boo! in 1.1 and early 2.0 Alphas i.e. DialogResult.OK
resolves to TRUE.
A6 and A7 (didn't try any others!) nothing is printed i.e.
DialogResult.OK resolves to FALSE.
Now, I am changing my dialog code anyway but is this a deliberate change?
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