app.cs

来自「基于C/S的医疗卫生管理系统」· CS 代码 · 共 55 行

CS
55
字号
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading;
using System.Runtime.CompilerServices; 
using System.Data;

using Qeb.Support.DataAccess;
using Qeb.DBProxy;

namespace Qeb.Support
{
    public class App
    {
        /// <summary>
        /// 职工ID
        /// </summary>
        public static string zgid = "";
        /// <summary>
        /// 工号
        /// </summary>
        public static string gh = "";
        //用户名称
        public static string yhMc = "";
        //默认输入码
        public static string mrSrm = "SRM1";
        //登陆时间
        public static string logonTime = "";
        //应用名称
        public static string yyMc = "";
        //应用ID
        public static string yyId = "";
        //系统ID
        public static string xtId = "";
        //public static string dbVersion = "";
        //库房类型
        public static string kfLx = "";
        public static Cache.AppCache cache = Cache.AppCache.GetInstance();
        private static DbProxyClient dbProxy = null;
        public static DbProxyClient DbProxy
        {
            [MethodImpl(MethodImplOptions.Synchronized)]
            get
            {
                if (dbProxy == null)
                {  
                    dbProxy = new DbProxyClient();
                }
                return dbProxy;
            }
        }
        //public static ViewStyle UIViewStyle = ViewStyle.Standard;
    }
}

⌨️ 快捷键说明

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