Files
netch/Netch/Servers/Trojan/Form/TrojanForm.cs
2021-02-28 22:17:12 +08:00

17 lines
512 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";
}
}