OnPaint-Ereignis f

moin, moin

may somebody can help me?

I have defined some colors in a switch (iStyle) and I want to give this colors from a class (CformenFarbe.cs) to some other forms. The button
 
If at the same time you mean one clump of code yes.
Access the form by naming it, may want to include the namespace.
namespace.form2.BackColor= Color.Red;

There you go, just do them all like that.
 
Back
Top