levyuk
Well-known member
Hello,
I have an application with many forms. What I need to do is have some kind of global variable that each form can access to tell it what colour to set its background to. This is because if I decide to change the colour of the background it will be very tedious to change 15 forms. Does anyone have a way of doing this? I was thinking about a class that contains this information and each form could access it at Form_load but I don't know how to do it.
Thanks for any help
I have an application with many forms. What I need to do is have some kind of global variable that each form can access to tell it what colour to set its background to. This is because if I decide to change the colour of the background it will be very tedious to change 15 forms. Does anyone have a way of doing this? I was thinking about a class that contains this information and each form could access it at Form_load but I don't know how to do it.
Thanks for any help