public Forms(IClientTcp socket, IPacket packet) { Login = new FormLogin(socket, packet); Register = new FormRegister(socket, packet); Main = new FormMain(socket, packet); }
public FormRegister(IClientTcp socket, IPacket packet) { InitializeComponent(); Socket = socket; Packet = packet; }
public FormLogin(IClientTcp socket, IPacket packet) { InitializeComponent(); Socket = socket; Packet = packet; }