I'm have trouble mentally translating the Vb and C# examples I found online. Could someone finish this trivial example of calling a modal dialog and returning the choice that was selected?<br><br>import clr<br>clr.AddReference
('System.Windows.Forms')<br><br>from System.Windows import Forms<br><br>class MyMainForm(Forms.Form):<br> def __init__(self):<br> self.Text = 'Main Form'<br> my_button = Forms.Button(Text='Choose one!')<br>
<br>class MyDialog(Forms.Form):<br> def __init_(self):<br> self.Text ='Dialog'<br> egg_button = Forms.Button(Text='Eggs')<br> spam_button = Forms.Button(Text='Spam')<br> <br>app = MyMainForm()
<br>Forms.Application.Run(app)<br>