C
C#3mo ago
Elyorbek

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

No description
11 Replies
Elyorbek
ElyorbekOP3mo ago
It keeps hiding and running even though window closes
cap5lut
cap5lut3mo ago
do u mean this "X" button?
No description
Elyorbek
ElyorbekOP3mo ago
yes I think I found out) private void Form8_FormClosing(object sender, FormClosingEventArgs e) { Application.Exit(); } }
cap5lut
cap5lut3mo ago
thats just a preview, this isnt really the running application
Elyorbek
ElyorbekOP3mo ago
yeah but when I run it doesnt stop when I press that button
cap5lut
cap5lut3mo 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
ElyorbekOP3mo ago
i know )) i think i didnt explain my question enough
cap5lut
cap5lut3mo ago
then i dont know what you are asking
Elyorbek
ElyorbekOP3mo ago
this is answer I found out thanks anyway
cap5lut
cap5lut3mo ago
aaah, didnt notice u have multiple forms, sorry if ur question is answered please $close this thread 🙂
MODiX
MODiX3mo 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