I want to make a very simplistic game in c# windows application.
I want to be able to communicate between controls and form1. Back and forward. The controls, i want to be little menus, with personalized settings that CAN affect the main form1 content. Or, from form1 to affect the content from a control.
-
for example: I imagine, those controls are like pages from a website. The form1 is like the main page with the main menu. From that form1 main menu, i open those pages(controls), make some changes inside them, and inside form1 stuff is updated. And if I change something in form1, when I open a control, it will contain the change.
-
How to do it? What is the best approach that you can think? Or what is the official approach ? I want a simple and elegant solution. So, be elegant.
Thank you.
What I have tried:
i tried a lot of stuff in more than 15 years of c#.