/// <summary> Implement the HandleDialogEnd event handler. </summary> /// <param name="label"> The label to set to the status bar. <see cref="System.String"/> </param> protected void HandleDlgDialogEnd_QueryForApplicationClose(XtDialog source) { if (source.Result == XtDialog.DialogResult.Ok) { Xtlib.exit(0); } }