ShareThrowingScreenServer/FormConfig.cs
(完整代码) 1KBusing Cool.Windows.Forms;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ShareThrowingScreenServer
{
public partial class FormConfig : CoolForm
{
public FormConfig()
{
InitializeComponent();
CommonLibrary.BaseControls.Instance.SetValueReflection(coolFormTitleBar1, Image.FromFile("Images/Logo.png"), "TitleImage");
Commom.Instance.RecursionSetSkin(this, Commom.Instance.SkinColor);
}
private void FormConfig_Load(object sender, EventArgs e)
{
ctxtIPAddr.Text = Share.Config.ConfigManager.Instance.GetAppSettingsString("LocalHost");
}
private void cbtnOK_Click(object sender, EventArgs e)
{
Share.Config.ConfigManager.Instance.SetAppSettingsString("LocalHost", ctxtIPAddr.Text);
InformationBox.Show("请重启服务!");
this.Close();
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
