⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 settingvalues.cs

📁 Windows Mobile用户签名程序
💻 CS
字号:
/*
	The Settings class does all of the work. This is the 'settings 
	definition' file. It defined two things; first it specifies the 
	keynames used in the settings file. This allows you to use 
	IntelliSense when reading / writing settings.

	The second item is the default values. These are used if a config
	file is not found or the config file does not contain an entry 
	for the particular setting.
*/

using System;

namespace DesktopSignature
{
	/// <summary>
	/// Contains setting key names.
	/// </summary>
	public class SettingKeys
	{
		public const string PortNumber = "PortNumber";
		public const string SmoothLines = "SmoothLines";
		public const string CryptPassphrase = "Passphrase";
	}


	/// <summary>
	/// Default settings
	/// </summary>
	public class SettingDefaults
	{
		static public string[,] Values = 
		{
			{SettingKeys.PortNumber, "10200"},
			{SettingKeys.SmoothLines, "true"},
			{SettingKeys.CryptPassphrase, "212a658c-2edf-46e4-b550-ebe53b91e6b3"}
		};
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -