Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, I have 4 forms. Forms 2-4 are just storing the preferences for form 1. What do I need to do so that form 4 will make changes in form 1?
Here is an example:

On form 4 I have a track bar named "trackBar1"

now, depending on the track bar's value, I want form 1 to be set to a certain opacity. Here is the math.

.Opacity = (trackBar1.Value * 0.01);

But now, i just need to send this between forms. I have done a lot of google searching, and this is my last resort. thanks.

EDIT:

I forgot to mention, is there a property, in which I can make a window not be interact-able - if that's a word.. I just want a certain form to not accept any mouse clicks, i want the form behind it to accept the mouse clicks.
Posted
Updated 30-Aug-11 14:59pm
v2

1 solution

As the question turned out to be very popular, and my previous answers often were not well understood, probably were not clear enough, I decided to write a Tips/Trick article complete with detailed code samples and explanations: Many Questions Answered at Once — Collaboration between Windows Forms or WPF Windows.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900