コード例 #1
0
ファイル: MsgBox.cs プロジェクト: cdc-jtmiller/Epi-Info-R
        /// <summary>
        /// Displays a ReservedWordException
        /// </summary>
        /// <param name="ex">The exception</param>
        private static void ShowException(ReservedWordException ex)
        {
            PrepareToShow();
            string errorMessage = Util.CombineMessageParts(SharedStrings.RESERVED_WORD_ERROR, ex.ReservedWordUsed);

            ShowError(errorMessage, false);
        }
コード例 #2
0
ファイル: MsgBox.cs プロジェクト: NALSS/epiinfo-82474
 /// <summary>
 /// Displays a ReservedWordException
 /// </summary>
 /// <param name="ex">The exception</param>
 private static void ShowException(ReservedWordException ex)
 {
     PrepareToShow();
     string errorMessage = Util.CombineMessageParts(SharedStrings.RESERVED_WORD_ERROR, ex.ReservedWordUsed);
     ShowError(errorMessage, false);
 }