C
C#2mo ago
Elyorbek

✅ How can I make "X" button on the default frame of the Visual Studio make program close?

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