I'm supposed to create a small game menu in C#. What i'm doing now is that with each button you click in the main menu, you get a new form so it's something like this.
User clicks: Play
Form playMenu = new Form();
playMenu.Show();
this.Hide();
New form including buttons appears with new options to choose from.
I feel like there is a better way to do this but i have no idea how. Something in a way of having just 1 form instead of multiple and having buttons something like this:
User clicks: Options
playButton.visible = false;
options.Visible = true;
Doing the above makes it possible to just have 1 form but wouldn't it be difficult to make changes to the buttons? I have no idea if this is the right way to do this.