This question will definitely seem redundant but I've tried seemingly everything!
Ok I have form1 and form 2. I want to open form2 from buttonclick on form1 and have form1 close.
I've tried the:
Form2 newform = new Form2();
this.Close();
newform.Show();
I've tried moving the second line in all possible places inside the buttonclick function. But my problem is that if I use the "this.Close();" command it closes both forms, if I use the "this.Hide();" command it leaves the process open and I have to manually close it to debug again.
The(this.Close();" works on any other form (ex. form2 close => open form3 ETC)
Does anyone know any other way to have it close it but not close the entire application?