void btnExit_Click(object sender, TomShane.Neoforce.Controls.EventArgs e) { game.hideMessageDialog(); game.Exit(); }
void exitBtn_Click(object sender, TomShane.Neoforce.Controls.EventArgs e) { this.Visible = false; game.Exit(); }