✅ How can I make "X" button on the default frame of the Visual Studio make program close?
11 Replies
It keeps hiding and running even though window closes
do u mean this "X" button?
yes
I think I found out)
private void Form8_FormClosing(object sender, FormClosingEventArgs e)
{
Application.Exit();
}
}
thats just a preview, this isnt really the running application
yeah
but when I run
it doesnt stop
when I press that button
thats just an open document like any other file u open in VS, so up there in the tabs u can close the preview
i know ))
i think i didnt explain my question enough
then i dont know what you are asking
this is answer
I found out
thanks anyway
aaah, didnt notice u have multiple forms, sorry
if ur question is answered please $close this thread 🙂
If you have no further questions, please use /close to mark the forum thread as answered