[IronPython] invoking new form

Dino Viehland dinov at exchange.microsoft.com
Fri Jan 18 15:22:41 PST 2008


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: users-bounces at lists.ironpython.com [mailto:users-bounces at lists.ironpython.com] On Behalf Of Vadim Khaskel
Sent: Friday, January 18, 2008 3:19 PM
To: users at lists.ironpython.com
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20080118/acd7c2df/attachment.htm 


More information about the Users mailing list