I am new to C# and .NET. My question is simple to formulate, but I do not know whether there is a simple answer. I have created the GUI for a WinForms project, where there are a number of forms that all derive from a class BaseForm : Form. This class is only used to derive other classes from it, although it is not an abstract class - wanted to open it in the MVS2010 design editor, which is not possible for abstract classes...
The BaseForm does have a singleton class called ButtonMenu in it. My question is about the interaction over event handling between the ButtonMenu and all BaseForm-derived forms.
When the "language" button is pressed in the ButtonMenu, all the texts of the buttons are switched from one language to the next. How can I inform the active form/all the forms that this button was clicked?
What I want to do is to change the text content in the active form. Note that the class ButtonMenu is a Control and not related to any Form class.
Thank you for your reply.