O
old_School
Guest
I think this is super trival question. I know how to fix this in VB but c# not giving me the option to close on last form closed. currently I open a new form but then I close the previous. It wants to exit the application. I don't want to hide the previous. I want to close it.
Snippet:
var snd = (Button)sender;
_btnName = snd.Name.ToString();
_btnClick.Click(_Vision_Form._Current_Form, _btnName);
this.Close();
My click function will open the nest form. The close will close my current form. When I close the startup form aka current form it exists the app. There is a setting I need to set to stop it from exiting when startup form is closed. I dont remember in c# where that setting lives.
Continue reading...
Snippet:
var snd = (Button)sender;
_btnName = snd.Name.ToString();
_btnClick.Click(_Vision_Form._Current_Form, _btnName);
this.Close();
My click function will open the nest form. The close will close my current form. When I close the startup form aka current form it exists the app. There is a setting I need to set to stop it from exiting when startup form is closed. I dont remember in c# where that setting lives.
Continue reading...