G
Guest
Hello,
having an application with a Main form (Form1) and a second form
(settingsForm1) that should only show up when the user clicks the settings
menu button, where should the code:
settingsForm settingsForm1 = new MyApp.settingsForm()
be placed?
First i have put it inside the Form1.InitializeComponents method thus only
needed to call settingsForm1.show() when the menu button was clicked, but
this lead to the side-effect of the settingsForm showing up in front of the
main form at design time (Form1.cs [design])
Many thanks in advance
having an application with a Main form (Form1) and a second form
(settingsForm1) that should only show up when the user clicks the settings
menu button, where should the code:
settingsForm settingsForm1 = new MyApp.settingsForm()
be placed?
First i have put it inside the Form1.InitializeComponents method thus only
needed to call settingsForm1.show() when the menu button was clicked, but
this lead to the side-effect of the settingsForm showing up in front of the
main form at design time (Form1.cs [design])
Many thanks in advance