Access Controls or Variables on Other Forms: Part II, Attack of the Forms

Okay, well anyways, you probably remember I posted a thread about this.

But....what if I want to access the methods and properties on a form that hasn't been launched from the current form. Let's say there is an options form and a customization form, neither of which are the default forms. I want the options form to modify something, such as background color, of the customize form. How would I go about that?

I used form2 instance = new form2(this);
instance.Show();

but I can't do that because they arent laucnhed from one another...

[610 byte] By [xRuntime] at [2007-12-24]
# 1

the same things would apply as last time.

you would create a class, and just access its properties/methods as long as they are declared as public. If its not launched, then thats fine too - you dont need to launch it but access its public variables/properties/methods etc.... of course you need to make the properties you want to access public.

ahmedilyas at 2007-10-8 > top of Msdn Tech,Visual C#,Visual C# Language...