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

📄 impshelp.cs

📁 破解的飞信源代码
💻 CS
字号:
namespace Imps.Client.Utils
{
    using Imps.Client.Resource;
    using System;
    using System.Collections.Generic;

    public class ImpsHelp
    {
        private static string _HelpPage = string.Empty;
        private static string _SSIC = string.Empty;
        private static Dictionary<string, string> _urlDic = new Dictionary<string, string>();

        static ImpsHelp()
        {
            Init();
        }

        private static void Init()
        {
            int[] values = (int[]) Enum.GetValues(typeof(ImpsHelpSrc));
            string[] names = Enum.GetNames(typeof(ImpsHelpSrc));
            for (int i = 0; i < values.Length; i++)
            {
                _urlDic.Add(names[i], values[i].ToString());
            }
        }

        public static void LoadHelp(ImpsHelpSrc key)
        {
            string args = string.Empty;
            if (_urlDic.ContainsKey(key.ToString()) && !key.Equals(ImpsHelpSrc.Unspcified))
            {
                args = string.Format("k={0}", _urlDic.get_Item(key.ToString()));
            }
            FunctionHelper.StartFunc(WebFunction.Help, args);
        }

        public static string HelpPage
        {
            get
            {
                return _HelpPage;
            }
            set
            {
                _HelpPage = value;
            }
        }

        public static string SSIC
        {
            get
            {
                return _SSIC;
            }
            set
            {
                _SSIC = value;
            }
        }
    }
}

⌨️ 快捷键说明

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