private void quit() { bool quit = true; if (_isDirty) { if (!DialogUtils.Confirm(this, Resources.ChangesNotSavedQuit)) { quit = false; } } if (quit) { Windows.CloseForm(this); } }