|
-
Jun 3rd, 2006, 04:14 PM
#1
Thread Starter
Member
[RESOLVED] [2.0] Easy question for someone who knows what they are doing...
I have a main form.
I have a second form.
I have a third form.
The second form is an options form. It has various textboxes and sliders that control the properties of the third form (the location, opacity, etc.).
When the third form moves (I already have an event to handle this), I want the text boxes in the second form to update with the new location.
In addition to that, if I change the text boxes in the second form, I'd like the third form to update its position.
In the end, the problem is figuring out how to communicate between forms.
For the initial startup and show/hide routines in the main form, I simply delcared the second and third forms like so:
frmOptions formOptions = new frmOptions()
Then I did: formOptions.Show() or formOptions.Hide() , etc..
This is working ok, but I can't seem to access controls of a form I'm not currently working in, in addition to edit the properties of the form.
Last edited by ThisIsMyUserName; Jun 5th, 2006 at 12:38 AM.
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
|