📄 personoptions.cs
字号:
using System;
using System.Windows.Forms;
using System.ComponentModel;
using System.Drawing;
namespace Tracker7UI.plugins.People
{
/// <summary>
/// Summary description for PersonOptions.
/// </summary>
[DefaultPropertyAttribute("LoginEnabled")]
public class PersonOptions
{
private Font _ScreenFont = new Font("Tahoma", 8, FontStyle.Regular);
public PersonOptions()
{
//
// TODO: Add constructor logic here
//
}
/// <summary>
/// True = this person is allowed to login to the system.
/// </summary>
[CategoryAttribute("Permissions"),
ReadOnlyAttribute(true),
DefaultValueAttribute(false),
DescriptionAttribute("Allow Person Login"),
BrowsableAttribute(true)]
public bool LoginEnabled
{
get
{
return true;
}
set
{
}
}
/// <summary>
/// True = this person is allowed to login to the system.
/// </summary>
[CategoryAttribute("Contact Information"),
ReadOnlyAttribute(false),
DefaultValueAttribute(1),
DescriptionAttribute("Select this person preferred mailing address"),
BrowsableAttribute(true)]
public int PreferredMailingAddress
{
get
{
return 1;
}
set
{
}
}
/// <summary>
/// Set The font used on screen
/// </summary>
[CategoryAttribute("Appearance"),
ReadOnlyAttribute(false),
DescriptionAttribute("Select the font you want to see on screen"),
BrowsableAttribute(true)]
public Font ScreenFont
{
get {return _ScreenFont; }
set { _ScreenFont = value;}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -