|
-
February 3rd, 2008, 10:07 PM
#1
Making a modelless dialog, newbie question
I'd like to make a modeless form called from another form
(that is, I have two forms and one will call the other)
What property should I turn on/off to make this work ?
Thanks
-
February 3rd, 2008, 10:21 PM
#2
Re: Making a modelless dialog, newbie question
Just create a Form, and call Show().
Code:
MyFormClass newForm = new MyFormClass()
newform.Show()
For them to communicate, you simply need to pass a reference from one form to the other... Or pass a reference a single instance of some other class...
TheCPUWizard is a registered trademark, all rights reserved. (If this post was helpful, please RATE it!)
2008, 2009,2010
In theory, there is no difference between theory and practice; in practice there is.
* Join the fight, refuse to respond to posts that contain code outside of [code] ... [/code] tags. See here for instructions 
* How NOT to post a question here
* Of course you read this carefully before you posted
* Need homework help? Read this first
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|