Files
netch/Netch/Servers/Trojan/Form/TrojanForm.cs
ChsBuffer ac0800ec56 Reformat
2021-02-20 18:15:16 +08:00

17 lines
511 B
C#

using Netch.Forms;
namespace Netch.Servers.Trojan.Form
{
public class TrojanForm : ServerForm
{
public TrojanForm(Trojan server = default)
{
server ??= new Trojan();
Server = server;
CreateTextBox("Password", "Password", s => true, s => server.Password = s, server.Password);
CreateTextBox("Host", "Host", s => true, s => server.Host = s, server.Host);
}
protected override string TypeName { get; } = "Trojan";
}
}