mirror of
https://github.com/netchx/netch.git
synced 2026-03-30 19:09:48 +08:00
17 lines
512 B
C#
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";
|
|
}
|
|
} |