Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set property of Form
Message
From
19/01/2004 16:25:12
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
00868297
Message ID:
00868312
Views:
18
Since Form B is a dialog, control won't return to Form A until the user closes Form B. When a user closes a DialogForm, the form is not disposed. So, your calling form can access public properties on the DialogForm. So, all you have to do is make the property on Form B public, and then access it from Form A once control returns there.
frmSelect.ShowDialog()  
int i = frmSelect.TreeItemSelected
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform