organnizationsoptions.cs

来自「美国移民局软件,请大家不要用于商业用途!站长为什么还不开通我的帐号呀」· CS 代码 · 共 77 行

CS
77
字号
using System;
using System.Windows.Forms;
using System.ComponentModel;
using System.Drawing;

namespace Tracker7UI.plugins.Organizations
{
	/// <summary>
	/// Summary description for OrganizationsOptions.
	/// </summary>
	[DefaultPropertyAttribute("LoginEnabled")]
	public class OrganizationsOptions
	{

		private Font _ScreenFont = new Font("Tahoma", 8, FontStyle.Regular);

		public OrganizationsOptions()
		{
			//
			// 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 Company to Login using the Web"),
		BrowsableAttribute(true)]
		public bool WebAccessEnabled
		{
			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 + =
减小字号Ctrl + -
显示快捷键?