settings.cs
来自「一个局域网聊天工具的源码 采用UDP」· CS 代码 · 共 72 行
CS
72 行
namespace XChat.Properties
{
using System;
using System.CodeDom.Compiler;
using System.ComponentModel;
using System.Configuration;
using System.Diagnostics;
using System.Runtime.CompilerServices;
[CompilerGenerated, GeneratedCode("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed class Settings : ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings) SettingsBase.Synchronized(new Settings()));
private void SettingChangingEventHandler(object sender, SettingChangingEventArgs e)
{
}
private void SettingsSavingEventHandler(object sender, CancelEventArgs e)
{
}
public static Settings Default
{
get
{
return defaultInstance;
}
}
[DefaultSettingValue(""), UserScopedSetting, DebuggerNonUserCode]
public string nickName
{
get
{
return (string) this["nickName"];
}
set
{
this["nickName"] = value;
}
}
[DefaultSettingValue("58888"), UserScopedSetting, DebuggerNonUserCode]
public int port
{
get
{
return (int) this["port"];
}
set
{
this["port"] = value;
}
}
[DefaultSettingValue("Z"), DebuggerNonUserCode, UserScopedSetting]
public string txtShowSet
{
get
{
return (string) this["txtShowSet"];
}
set
{
this["txtShowSet"] = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?