using ryCommon;
using ryCommonDb;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using static ryCommonDb.DataProvider;

namespace VSoft.Config
{
    /// <summary>
    /// 配置类,保存在运行期间不会被改变的配置信息(本系统基于乘黄V2架构)
    /// </summary>
    public static class Soft_Info
    {
        /// <summary>
        /// 在线升级配置文件的url
        /// </summary>
        public const string Update_Url = "http://www.itrycn.com/update/vsoft.xml";
        /// <summary>
        /// 软件标题
        /// </summary>
#if TEST
        public const string Soft_Title = "VSoft 快速启动【测试模式】";
#else
        public const string Soft_Title = "VSoft 快速启动";
#endif

        /// <summary>
        /// 软件ID
        /// </summary>
#if TEST
       public const string Soft_Id = "VSoft_Test";
#else
        public const string Soft_Id = "VSoft";
#endif
        /// <summary>
        /// 开机启动的参数
        /// </summary>
        public const string Soft_Pram = "q";
        /// <summary>
        /// 官网地址
        /// </summary>
#if DY
        public const string Soft_Url = "http://www.3h3.com";
#else
        public const string Soft_Url = "http://www.itrycn.com";
#endif
        /// <summary>
        /// 售后QQ群
        /// </summary>
#if DY
        public const string QQ_Qun = "暂无";
#else
        public const string QQ_Qun = "183161992";
#endif
        /// <summary>
        /// 关于界面内容.
        /// </summary>
        public const string AboutText = "#softname# #ver# 是一款完全免费的快速启动软件。";
        /// <summary>
        /// 用户文件夹,该相对路径设置,将在程序启动后转换
        /// </summary>
        public static string UserDataFolder = @"<app>\UserDb";
        /// <summary>
        /// 是否允许显示托盘图标
        /// </summary>
        public static bool ShowTray { get; } = true;
        /// <summary>
        /// 是否显示捐赠方式
        /// </summary>
        public static bool DonateVisabled { get; } = true;
    }
}
