Robocide
Robocide

Reputation: 6751

Mono Winforms Problem

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

Answers (1)

Druid
Druid

Reputation: 6453

Call Application.Exit() instead. If you really want the Close event to fire, call Application.Exit() after you call Close.

Upvotes: 1

Related Questions