Reputation: 6751
Hey , does anyone know why a winform application in windows, reaches via the ending program flow , to the point :
this.close (of the main form) ,
closes the application normaly in windows , but in Mono the windows get stucked... ?
Upvotes: 0
Views: 587
Reputation: 6453
Call Application.Exit()
instead. If you really want the Close
event to fire, call Application.Exit()
after you call Close
.
Upvotes: 1