variant.cs

来自「是一款式CSDN阅读器,可以方便CSDN用户阅读自己感兴趣的内容!」· CS 代码 · 共 59 行

CS
59
字号
using System;
using System.Collections.Generic;
using System.Text;



namespace feiyun0112.cnblogs.com.CSDNReader.Model
{
    class Variant
    {
        private static string _Err = "";
        public static string Err
        {
            get { return _Err; }
            set { _Err = value; }
        }

        private static System.Text.Encoding _encoding = System.Text.Encoding.GetEncoding("gb2312");
        public static System.Text.Encoding Encoding
        {
            get { return _encoding; }
            set { _encoding = value; }
        }
        
        private static Room _CurrentRoom = null;
        public static Room CurrentRoom
        {
            get
            {
                return _CurrentRoom;
            }
            set
            {
                _CurrentRoom = value;
            }

        }

        private static User _CurrentUser = null;
        public static User CurrentUser
        {
            get
            {
                return _CurrentUser;
            }
            set
            {
                _CurrentUser = value;

                Functions.DelegateFunc.OnLogin();
            }

        }
       


    }
}

⌨️ 快捷键说明

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