What happens when you do this?  Is an exception thrown?  Does it just hang 
waiting w/ nothing happening?  Also, are you doing this from the console or 
from modules which just get executed stand alone (e.g. ipy foo.py)?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vadim Khaskel
Sent: Friday, January 18, 2008 3:19 PM
To: [email protected]
Subject: [IronPython] invoking new form

Hi all,

I'm trying to invoke a form from python module (mod1) (which is not in the same 
name space as Form1 class  like this:
#in mod1
def newWinOpen():
        Application.Run(Form2()) #I did import Form2 into this module#

Doesn't work...

in my next attempt I put mod1 where I calling Form2 put into the same namespace 
as Form1 and Form2


In this case namespace class in Form1 doesn't see the mod1...


What is the right way to do that....???

Thank you,

Vadim

________________________________
Climb to the top of the charts!  Play the word scramble challenge with star 
power. Play 
now!<http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan>
_______________________________________________
Users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to