using ryCommon;
using ryCommonDb;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MyHouse
{
///
/// 运行期间存储的变量,不会存储在文件中,只存储内存中.每次启动软件会初始化变量。
///
public static class Soft_MemInfo
{
///
/// 是否能关闭窗体。
/// 设置本值为false,可以阻止窗口被手动关闭。
///
public static bool IsCanCloseForm { get; set; } = true;
}
///
/// 配置类,保存在运行期间不会被改变的配置信息(本系统基于乘黄V2架构)
/// 在运行期间请勿改动本类中的变量值。
///
public static class Soft_ConstInfo
{
///
/// 在线升级配置文件的url
///
public const string Update_Url = "http://www.itrycn.com/update/ryWebMon4.xml";
///
/// 软件标题
///
public const string Soft_Title = "我的家庭";
///
/// 软件ID
///
public const string Soft_Id = "MyHouse";
///
/// 开机启动的参数
///
public const string Soft_Pram = "q";
///
/// 官网地址
///
public const string Soft_Url = "http://www.itrycn.com";
///
/// 售后QQ群
///
public const string QQ_Qun = "183161992";
///
/// 关于界面内容.支持以下变量
/// #softname#:软件名称
/// #ver#:版本号
///
public const string AboutText = "#softname# #ver#";
///
/// 用户文件夹,该相对路径设置,将在程序启动后转换
///
public static string UserDataFolder = @"\UserDb";
///
/// 自带配置文件夹,该相对路径设置,将在程序启动后转换
///
public static string SysDataFolder = @"\SysDb";
///
/// 是否允许显示托盘图标
///
public const bool ShowTray = false;
///
/// 是否显示捐赠方式
///
public static bool DonateVisabled = true;
}
}