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

📄 setting.cs

📁 定义社区节点
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace feiyun0112.cnblogs.com.CSDNReader.Model
{
    class Setting
    {
        private Setting()
        {
        }
        private static string _Version = "20090116";
        public static string Version
        {
            get { return _Version; }
            set { _Version = value; }
        }

        private static int _MinTopicPoint;
        public static  int MinTopicPoint
        {
            get { return _MinTopicPoint; }
            set { _MinTopicPoint = value; }
        }


        private static int _MaxTopicReplies=20;

        public static int MaxTopicReplies
        {
            get { return _MaxTopicReplies; }
            set { _MaxTopicReplies = value; }
        }

        private static int _RefreshMinutes = 3;

        public static int RefreshMinutes
        {
            get { return _RefreshMinutes; }
            set { _RefreshMinutes = value; }
        }

        private static int _TimeoutMinutes = 2*60*1000;

        public static int TimeoutMinutes
        {
            get { return _TimeoutMinutes; }
            set { _TimeoutMinutes = value; }
        }

        private static Font _Fonts = new Font();

        public static Font Fonts
        {
            get { return _Fonts; }
            set { _Fonts = value; }
        }

        private static int _RefreshInterval = 600000;

        public static int RefreshInterval
        {
            get { return _RefreshInterval; }
            set { _RefreshInterval = value; }
        }

        private static bool _ShowTopicTab =true   ;

        public static bool ShowTopicTab
        {
            get { return _ShowTopicTab ; }
            set { _ShowTopicTab  = value; }
        }


        private static int _NewMessageInterval = 60000;

        public static int NewMessageInterval
        {
            get { return _NewMessageInterval; }
            set { _NewMessageInterval = value; }
        }

        private static string _Signature = "";

        public static string Signature
        {
            get { return _Signature; }
            set { _Signature = value; }
        }


        private static int _HideInfoInterval = 3000;

        public static int HideInfoInterval
        {
            get { return _HideInfoInterval; }
            set { _HideInfoInterval = value; }
        }

        private static bool _MarkAllReaded  ;

        public static bool MarkAllReaded
        {
            get { return _MarkAllReaded; }
            set { _MarkAllReaded = value; }
        }

        private static bool _ShowNewTopic = true;

        public static bool ShowNewTopic
        {
            get { return _ShowNewTopic; }
            set { _ShowNewTopic = value; }
        }

        private static bool _ShowRepliedTopic = true;

        public static bool ShowRepliedTopic
        {
            get { return _ShowRepliedTopic; }
            set { _ShowRepliedTopic = value; }
        }

        private static bool _ShowMaxPoint ;

        public static bool ShowMaxPoint
        {
            get { return _ShowMaxPoint; }
            set { _ShowMaxPoint = value; }
        }


        #region 代理相关
        private static bool _UseProxy ;

        public static bool UseProxy
        {
            get { return _UseProxy; }
            set { _UseProxy = value; }
        }

        private static bool _IEProxy ;

        public static bool IEProxy
        {
            get { return _IEProxy; }
            set { _IEProxy = value; }
        }

        private static string _ProxyServer="";

        public static string ProxyServer
        {
            get { return _ProxyServer; }
            set { _ProxyServer = value; }
        }

        private static string _ProxyPort = "";

        public static string ProxyPort
        {
            get { return _ProxyPort; }
            set { _ProxyPort = value; }
        }
        private static string _ProxyUsername = "";

        public static string ProxyUsername
        {
            get { return _ProxyUsername; }
            set { _ProxyUsername = value; }
        }

        private static string _ProxyPassword = "";

        public static string ProxyPassword
        {
            get { return _ProxyPassword; }
            set { _ProxyPassword = value; }
        }
        #endregion 代理相关

    }
}

⌨️ 快捷键说明

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