how can I make the programme exit itself If I press a button, simular to if somebody pressed the red cross in the corner?
thankyou.