⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 apperrcode.cs

📁 基于C/S的医疗卫生管理系统
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

using Qeb.Resource;
using Qeb.Support.Common;

namespace Qeb.Support.Common
{
    public static class AppErrCode
    {
        public static string DALErrPrompt = "DALErrPrompt";

        public static string GetErrorText(string errCode)
        {
            string errText =  Resource.Resource.GetString(errCode);
            if (null == errText)
            {
                //记录日志(资源文件不存在)
                AppLog.Add("没有取到资源文件:"+errCode, LogEntryType.Error,typeof(AppErrCode));
                return "";
            }

            return errText;
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -