Class LoginOptions
[Display(Name = "登录页面设置", GroupName = "系统设置", Description = "登录页面设置的信息")]
public class LoginOptions : IocOptionInstance<LoginOptions>, INotifyPropertyChanged, IDisplayBindable, IIconable, IDable, IDescriptionable, ISettable, INameable, IOrderable, IGroupable, ILoadable, ISaveable, IDefaultable, IClearable, IOptions<LoginOptions>, ILoginOptions
- Inheritance
-
LoginOptions
- Implements
- Inherited Members
- Extension Methods
Properties
AdminName
[Required]
[Display(Name = "管理员账号")]
public string AdminName { get; set; }
Property Value
AdminPassword
[JsonIgnore]
[Browsable(false)]
[Required]
[Display(Name = "管理员密码")]
public string AdminPassword { get; set; }
Property Value
LastPassword
[Browsable(false)]
[Display(Name = "上次登录密码")]
public string LastPassword { get; set; }
Property Value
LastUserName
[Display(Name = "上次登录用户")]
public string LastUserName { get; set; }
Property Value
Product
[Display(Name = "登录标题")]
public string Product { get; set; }
Property Value
ProductFontSize
[Display(Name = "字体大小")]
public double ProductFontSize { get; set; }
Property Value
Remember
[Display(Name = "记住密码")]
public bool Remember { get; set; }
Property Value
UseVisitor
[Display(Name = "启用访客", Description = "启用访客模式后登录不成功也可以进入主窗口")]
public bool UseVisitor { get; set; }
Property Value
Methods
Load(out string)
public override bool Load(out string message)
Parameters
messagestring
Returns
LoadDefault()
加载默认值。
public override void LoadDefault()
Save(out string)
public override bool Save(out string message)
Parameters
messagestring