Ejemplo n.º 1
0
        /// <summary>Whether a new translation should be created, after choosing the respective confirmation dialog.</summary>
        private bool ToCreateNewTranslationAfterWarning()
        {
            if (ExistTranslationUnsavedChanges())
            {
                SaveConfirmationDialog dialog = new SaveTranslationOnNewTranslationConfirmationDialog();
                return(dialog.WaitForResponse());
            }

            return(true);
        }
Ejemplo n.º 2
0
	/// <summary>Whether a new translation should be created, after choosing the respective confirmation dialog.</summary>
    private bool ToCreateNewTranslationAfterWarning () {
   		if (ExistTranslationUnsavedChanges()) {
    		SaveConfirmationDialog dialog = new SaveTranslationOnNewTranslationConfirmationDialog();
   			return dialog.WaitForResponse();
   		}
   		else
    		return true;
	}