//================================================================================ private bool confirmExit() { if (!CajApp.isAllThreadsFinishedJobs()) { const string text = "Seems like you're going to corrupt your .ggpk." + "\r\nDo you really want to stop the job and close the app?"; const string caption = "poeNullEffects :: closing"; if (MessageBox.Show(text, caption, MessageBoxButtons.YesNoCancel, MessageBoxIcon.Stop, MessageBoxDefaultButton.Button3 ) != DialogResult.Yes) { return(false); } } return(true); }